Algumas palavras possuem um significado especial para o compilador C#. Estas não podem ser utilizadas como identifiers, ao menos que utilize o “@” antes da mesma.
Ex.: @if é uma identifier aceita mas if não, pois é uma palavra reservada.
Palavras reservadas do C#:
abstract | event | new | struct |
as | explicit | null | switch |
base | extern | object | this |
bool | false | operator | throw |
break | finally | out | true |
byte | fixed | override | try |
case | float | params | typeof |
catch | for | private | uint |
char | foreach | protected | ulong |
checked | goto | public | unchecked |
class | if | readonly | unsafe |
const | implicit | ref | ushort |
continue | in | return | using |
decimal | int | sbyte | virtual |
default | interface | sealed | volatile |
delegate | internal | short | void |
do | is | sizeof | while |
double | lock | stackalloc | |
else | long | static | |
enum | namespace | string | |