C# Key words
The key words are the word that meaning defined in C#. The key words should not be used as identifier with in C#.net program. However a key word can be used as an identifier by using "@" symbol preceding the reserved word. C# key words are following below :
Key words |
|||||
---|---|---|---|---|---|
abstract | as | base | bool | ||
break | byte | case | catch | ||
char | checked | class | const | ||
continue | get | decimal | default | ||
delegate | do | double | else | ||
enum | event | explicit | extern | ||
false | finally | fixed | set | ||
float | for | foreach | goto | ||
if | implicit | in | int | ||
interface | internal | is | lock | ||
long | value | namespace | new | ||
null | object | operator | out | ||
override | params | private | protected | ||
public | readonly | ref | add | ||
return | sbyte | sealed | short | ||
stackalloc | static | string | struct | ||
switch | this | throw | true | ||
remove | try | typeof | unit | ||
ulong | unchecked | unsafe | unshort | ||
using | virtual | void | while |