What are the data-types used in value types and reference types?

 Posted by vishalneeraj-24503 on 1/11/2014 | Category: Windows Forms Interview questions | Views: 3428 | Points: 40

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 

Comments or Responses

Login to post response