Saturday, March 28, 2009

What are different data types in .NET?

There are two data types supported by .NET framework:
1. Value Type
2. Reference Type

Value Type:
These directly hold the data at respective memory location.

Reference Type:
These does not hold the actual data. These holds the reference/pointer to the actual data i.e. holding memory address of actual data.

No comments: