3.3.Integral Types

Integral types in the C# programming language specify numbers, either signed or unsigned, and the char type. The char type is a Unicode character, as defined by the Unicode Standard.

The Size and Range of C# Integral Types
Type Size (in bits) Range
sbyte 8 -128 to 127
byte 8 0 to 255
short 16 -32768 to 32767
ushort 16 0 to 65535
int 32 -2147483648 to 2147483647
uint 32 0 to 4294967295
long 64 -9223372036854775808 to 9223372036854775807
ulong 64 0 to 18446744073709551615
char 16 0 to 65535

The char type is the exception, representing a single Unicode character.

Yes No Suggest edit
Suggest Edit