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 |
See Also
Reference
Concepts
Other Resources
Formatting Numeric Results Table (C# Reference)
Types Reference Tables (C# Reference)
Change History
Date |
History |
Reason |
---|---|---|
June 2010 |
Added a column for type suffixes. |
Customer feedback. |