What are Value types and Reference types ?

 Posted by Chvrsri on 7/14/2011 | Category: C# Interview questions | Views: 3376 | Points: 40

.Value Types :
Value Types are those which directly have their data or allocated on the stack or using a specific structure.

.Reference Types :
Reference types are those which store a reference to a value's memory address which are allocated on the heap. These types can be pointer types,interface types or self describing.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response