Value types in C#

It's the type of memory in C#. It stores both datatype and value. For instance
int a=5;
It will be stored as
   _____
a |int|5|
   ______
Examples to value types
1.All int data types
2.bool
3. Enum
4. Struct

Value types are available in both heap and stack.

Comments

Popular posts from this blog

Types of Architects

Basic measurements

Search html table contents based on its td using Jquery