1.

What Are The Differences Between Value Type And Reference Type?

Answer»
  • Value type contain VARIABLE and reference type does not containing any DIRECT value. 
  • MEMORY is allocated in MANAGED heap in reference type and in value type memory allocated in stack.
  • Example for Reference type –class, for value type-struct, enumeration



Discussion

No Comment Found