Memory types in Dotnet

Dotnet has 2 memory types. They are

1.Stack
2. Heap

1.Stack
These are Value types which contain actual data.

(e.g)
Int, float, double,Boolean etc.

2.Heap
These are reference types which contain pointers. These pointers point actual data.

(e.g)
String, object etc.

The process of moving data from value type to reference type is called BOXING.The vice versa is called UNBOXING.

Comments

Popular posts from this blog

Types of Architects

Basic measurements

Search html table contents based on its td using Jquery