1.

What Are Value Types And Reference Types ?

Answer»

There are two TYPES of data types in .NET, Value types and Reference types. Value types are stored in STACK part of the MEMORY. Reference type are stored in managed heap. Let have a look at the example for better understanding.

Int iCount = 0; Value Type 

int NewiCount = iCount; Reference Type

There are two types of data types in .Net, Value types and Reference types. Value types are stored in stack part of the memory. Reference type are stored in managed heap. Let have a look at the example for better understanding.

Int iCount = 0; Value Type 

int NewiCount = iCount; Reference Type



Discussion

No Comment Found