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 Specification


14 Expressions
14.6 Unary expressions
14.6.3 Logical negation operator
Paragraph 11 For an operation of the form !x, unary operator overload resolution (§14.2.3) is applied to select a specific operator implementation. 2 The operand is converted to the parameter type of the selected operator, and the type of the result is the return type of the operator. 3 Only one predefined logical negation operator exists:
bool operator !(bool x);
Paragraph 21 This operator computes the logical negation of the operand: If the operand is true, the result is false. 2 If the operand is false, the result is true. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

