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


12 Variables
12.3 Definite assignment
12.3.3 Precise rules for determining definite assignment
12.3.3.26 ?: expressions
Paragraph 11 For an expression expr of the form expr-cond ? expr-true : expr-false: - 2 The definite assignment state of v before expr-cond is the same as the state of v before expr.
- 3 The definite assignment state of v before expr-true is definitely assigned if and only if the state of v after expr-cond is definitely assigned or "definitely assigned after true expression".
- 4 The definite assignment state of v before expr-false is definitely assigned if and only if the state of v after expr-cond is definitely assigned or "definitely assigned after false expression".
|
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

