This documentation is archived and is not being maintained.

Value Types Table

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

See Also

Value Types | Formatting Numeric Results Table | Types Reference Tables

Show: