13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix F Indexbreak ..............................................See breakchecked.......................See checked, statementcomposite.................................................177continue ......................................See continuedeclaration ...............................................180do/while ......................................See do/whileembedded.................................................177empty ......................................................179end point of ..............................................177reachability of .......................................178expression ................................................182for ......................................................See forforeach.........................................See foreachgoto ..................................................See gotoif/else............................................. See if/elseiteration ...................................................186jump ........................................................190target of a .............................................190try statement and...................................190labeled.....................................................180lock .................................................. See lockreachable..................................................177return............................................. See returnselection...................................................182switch............................................See switchthrow ..............................................See throwtry....................................................... See tryunchecked............... See unchecked, statementunreachable ..............................................177unsafe......................................................317using................................ See using-statementwhile .............................................. See whilestatement list ................................................179static..................................................15, 99, 214static flow analysis ................................ 102, 178string ................................17, 95, See also Stringconcatenation of .......................................160C-style .....................................................331equality of ..............See operator, quality, stringnull-terminated.........................................331String ........................................... 73, See Stringmembers of ................................................73struct................................................ 17, 41, 267advice for using over class.........................267assignment and ......................................... 269boxing and ...............................................270class versus .......................................267, 268assignment............................................ 269boxing and unboxing............................. 270constructors .......................................... 270default values........................................ 269destructors............................................ 271field initializers ..................................... 270inheritance............................................ 269meaning of this ..................................... 270static constructors.................................. 271value semantics..................................... 268declaration of .............................................70declaration space of a.....See declaration space,structfield alignment in a...................................328field initializers and ..................................270inheritance and .........................................269interfaces and ...........................................267member..............................................72, 268accessibility of a ...................................207padding in a .............................................328pass by reference......................................269pass by value............................................269permitted modifiers on a ...........................267return by value .........................................269unboxing and............................................270..................................................440switch.................................................... 29, 183governing type of......................................184467

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!