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.7 The bool type Paragraph 11 The bool type represents boolean logical quantities. 2 The possible values of type bool are true and false. Paragraph 21 No standard conversions exist between bool and other types. 2 In particular, the bool type is distinct and separate from the integral types, and a bool value cannot be used in place of an integral value, and vice versa. [Note: In the C and C++ languages, a zero integral or floating-point value, or a null pointer can be converted to the boolean value false, and a non-zero integral or floating-point value, or a non-null pointer can be converted to the boolean value true. In C#, such conversions are accomplished by explicitly comparing an integral or floating-point value to zero, or by explicitly comparing an object reference to null. end note]
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS