Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 11 Typesprevious at this levelnext at this level 11.1 Value typesprevious at this levelnext at this level 11.1.4 Integral types Paragraph 11 C# supports nine integral types: sbyte, byte, short, ushort, int, uint, long, ulong, and char. 2 The integral types have the following sizes and ranges of values: Paragraph 21 The integral-type unary and binary operators always operate with signed 32-bit precision, unsigned 32-bit precision, signed 64-bit precision, or unsigned 64-bit precision: Paragraph 31 The char type is classified as an integral type, but it differs from the other integral types in two ways: Paragraph 41 The checked and unchecked operators and statements are used to control overflow checking for integral-type arithmetic operations and conversions (§14.5.12). 2 In a checked context, an overflow produces a compile-time error or causes an System.OverflowException to be thrown. 3 In an unchecked context, overflows are ignored and any high-order bits that do not fit in the destination type are discarded.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS