There are two kinds of types in C#:
value types and reference types. Variables
of value types directly contain their data whereas variables of reference types
store references to their data. There are two kinds of types in C#:
value types and reference types. Variables of value types directly contain
their data whereas variables of reference types store references to their data.
Value types data
types in c#
1) sbyte
2) short
3) int
4) long
5) byte
6) ushort
7) uint
8) ulong
9) char
10) float
11) double
12) decimal ,bool
13) Enum types
14) Struct types
15) Nullable value types
Reference
types data types in c#
1. Class
types
2. Interface
types
3. Array
types
4. Delegate
types