Article : Data
Types in C#
C# allows you to define two types of variables: value types and reference types.
The value types hold actual values, while reference types hold references to
values stored somewhere in memory.
Also value types are allocated on the stack and are available in most
programming languages. Reference types are allocated on the heap and typically
represent class instances.
Predefined C# value types