Reference Type & Value Type
Reference Type variables are stored in the heap while Value Type variables are stored in the stack. Value Type: A Value Type stores its contents in memory allocated on the stack. When you created a Value Type, a single space in memory is allocated to store the value and that variable directly holds a value.
#ValueType #ReferenceType #AspDotNet #Mvc #DesktopApplication
Tags
C#