- 3 The sbyte type represents signed 8-bit integers with values between -128 and 127.
- 4 The byte type represents unsigned 8-bit integers with values between 0 and 255.
- 5 The short type represents signed 16-bit integers with values between -32768 and 32767.
- 6 The ushort type represents unsigned 16-bit integers with values between 0 and 65535.
- 7 The int type represents signed 32-bit integers with values between -2147483648 and 2147483647.
- 8 The uint type represents unsigned 32-bit integers with values between 0 and 4294967295.
- 9 The long type represents signed 64-bit integers with values between -9223372036854775808 and 9223372036854775807.
- 10 The ulong type represents unsigned 64-bit integers with values between 0 and 18446744073709551615.
- 11 The char type represents unsigned 16-bit integers with values between 0 and 65535. 12 The set of possible values for the char type corresponds to the Unicode character set. [Note: Although char has the same representation as ushort, not all operations permitted on one type are permitted on the other. end note]

- 2 For the unary + and ~ operators, the operand is converted to type T, where T is the first of int, uint, long, and ulong that can fully represent all possible values of the operand. 3 The operation is then performed using the precision of type T, and the type of the result is T.
- 4 For the unary -operator, the operand is converted to type T, where T is the first of int and long that can fully represent all possible values of the operand. 5 The operation is then performed using the precision of type T, and the type of the result is T. 6 The unary -operator cannot be applied to operands of type ulong.
- 7 For the binary +, -, *, /, %, &, ^, |, ==, !=, >, <, >=, and <= operators, the operands are converted to type T, where T is the first of int, uint, long, and ulong that can fully represent all possible values of both operands. 8 The operation is then performed using the precision of type T, and the type of the result is T (or bool for the relational operators). 9 It is not permitted for one operand to be of type long and the other to be of type ulong with the binary operators.
- 10 For the binary << and >> operators, the left operand is converted to type T, where T is the first of int, uint, long, and ulong that can fully represent all possible values of the operand. 11 The operation is then performed using the precision of type T, and the type of the result is T.

- 2 There are no implicit conversions from other types to the char type. 3 In particular, even though the sbyte, byte, and ushort types have ranges of values that are fully representable using the char type, implicit conversions from sbyte, byte, or ushort to char do not exist.
- 4 Constants of the char type must be written as character-literals or as integer-literals in combination with a cast to type char. [Example: For example, (char)10 is the same as '\x000A'. end example]

| |

Jagger Software Ltd | |

Company # 4070126 | |

VAT # 762 5213 42 |