Value Types Table (C# Reference)
The following table lists the C# value types by category.
Value type |
Category |
Type Suffix |
---|---|---|
Boolean |
||
Unsigned, numeric, integral |
||
Unsigned, numeric, integral |
||
Numeric, decimal |
M or m |
|
Numeric, floating-point |
D or d |
|
Enumeration |
||
Numeric, floating-point |
F or f |
|
Signed, numeric, integral |
||
Signed, numeric, integral |
L or l |
|
Signed, numeric, integral |
||
Signed, numeric, integral |
||
User-defined structure |
||
Unsigned, numeric, integral |
U or u |
|
Unsigned, numeric, integral |
UL or ul |
|
Unsigned, numeric, integral |