Appendix C. C# Keywords
A C# keyword is a predefined reserved identifier that has a special meaning to the C# compiler. Keywords cannot be used as identifiers in your program unless they include the "at" sign (@) as a prefix. For example, @new would be a legal identifier; but, new is not, because it is a keyword.
| C# keywords / C# reserved words | |||
|---|---|---|---|
| abstract | as | base | bool |
| break | by3 | byte | case |
| catch | char | checked | class |
| const | continue | decimal | default |
| delegate | do | double | descending3 |
| explicit | event | extern | else |
| enum | false | finally | fixed |
| float | for | foreach | from3 |
| goto | group3 | if | implicit |
| in | int | interface | internal |
| into3 | is | lock | long |
| new | null | namespace | object |
| operator | out | override | orderby3 |
| params | private | protected | public |
| readonly | ref | return | switch |
| struct | sbyte | sealed | short |
| sizeof | stackalloc | static | string |
| select3 | this | throw | true |
| try | typeof | uint | ulong |
| unchecked | unsafe | ushort | using |
| var3 | virtual | volatile | void |
| while | where3 | yield2 | |
| 2 - C# 2.0 Keyword 3 - C# 3.0 Keyword | |||
[edit]