X hits on this document

866 views

0 shares

0 downloads

0 comments

5 / 396

Table of Contents

4.2 Reference types77

4.2.1 Class types78

4.2.2 The object type78

4.2.3 The string type78

4.2.4 Interface types78

4.2.5 Array types78

4.2.6 Delegate types79

4.3 Boxing and unboxing79

4.3.1 Boxing conversions79

4.3.2 Unboxing conversions80

5. Variables81

5.1 Variable categories81

5.1.1 Static variables81

5.1.2 Instance variables81

5.1.2.1 Instance variables in classes82

5.1.2.2 Instance variables in structs82

5.1.3 Array elements82

5.1.4 Value parameters82

5.1.5 Reference parameters82

5.1.6 Output parameters82

5.1.7 Local variables83

5.2 Default values83

5.3 Definite assignment84

5.3.1 Initially assigned variables85

5.3.2 Initially unassigned variables85

5.3.3 Precise rules for determining definite assignment85

5.3.3.1 General rules for statements86

5.3.3.2 Block statements, checked, and unchecked statements86

5.3.3.3 Expression statements86

5.3.3.4 Declaration statements86

5.3.3.5 If statements86

5.3.3.6 Switch statements87

5.3.3.7 While statements87

5.3.3.8 Do statements87

5.3.3.9 For statements88

5.3.3.10 Break, continue, and goto statements88

5.3.3.11 Throw statements88

5.3.3.12 Return statements88

5.3.3.13 Try-catch statements89

5.3.3.14 Try-finally statements89

5.3.3.15 Try-catch-finally statements89

5.3.3.16 Foreach statements90

5.3.3.17 Using statements90

5.3.3.18 Lock statements90

5.3.3.19 General rules for simple expressions91

5.3.3.20 General rules for expressions with embedded expressions91

5.3.3.21 Invocation expressions and object creation expressions91

5.3.3.22 Simple assignment expressions92

5.3.3.23 && expressions92

5.3.3.24 || expressions93

Copyright Microsoft Corporation 1999-2003. All Rights Reserved.v

Document info
Document views866
Page views866
Page last viewedMon Dec 05 16:56:39 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments