Answer:
Value type - bool,byte,chat,decimal,double,enum,float,int,
long, sbyte, short, strut, uint, ulong,ushort.
These are stored in the Stack.
Reference type - class,delegate,interface,object,string.
These are stored in the Heap.
Asked In: Many Interviews |
Alert Moderator