The following table lists the C# value types by category.
Value type | Category |
---|---|
bool | Boolean |
byte | Unsigned, numeric, integral |
char | Unsigned, numeric, integral |
decimal | Numeric, decimal |
double | Numeric, floating-point |
enum | Enumeration |
float | Numeric, floating-point |
int | Signed, numeric, integral |
long | Signed, numeric, integral |
sbyte | Signed, numeric, integral |
short | Signed, numeric, integral |
struct | User-defined structure |
uint | Unsigned, numeric, integral |
ulong | Unsigned, numeric, integral |
ushort | Unsigned, numeric, integral |