Page Stats
Visitor: 210
C#.Net Keywords
Keywords are the reserve words that have special meaning already define in the compiler.
abstract | as | async | await | base | bool |
break | byte | case | catch | char | checked |
class | const | continue | decimal | default | delegate |
do | double | dynamic | else | enum | event |
explicit | extern | false | finally | fixed | float |
for | foreach | global | goto | if | implicit |
in | int | interface | internal | is | lock |
long | namespace | new | null | object | operator |
out | override | params | partial | private | protected |
public | readonly | ref | return | sbyte | sealed |
set | short | sizeof | stackalloc | static | string |
struct | switch | this | throw | true | try |
typeof | uint | ulong | unchecked | unsafe | ushort |
using | value | var | virtual | void | volatile |
while | yield |
Important point about keywords
- Keywords are reserved words that cannot be used as identifier.
- Prefix '@' with keywords if you want to use it as identifier.