Keywords are the reserved words with special meaning. They can’t be used as variables and Identifiers. If you want to use them as identifiers, you must use ‘@’ character prior to that.
A list of C# Keywords is given below:
| Abstract |
Base |
As |
Bool |
Break |
Catch |
Case |
| byte |
char |
checked |
class |
const |
continue |
decimal |
| private |
Protected |
public |
return |
readonly |
ref |
sbyte |
| explicit |
extern |
false |
finally |
fixed |
float |
for |
| foreach |
goto |
if |
implicit |
in |
in |
int |
| ulong |
ushort |
unchecked |
using |
unsafe |
virtual |
void |
| default |
object |
operator |
out |
out |
override |
params |
| sealed |
delegate |
do |
double |
else |
event |
enum |
| switch |
short |
sizeof |
stackalloc |
static |
string |
Struct |
| abstract |
this |
throw |
true |
try |
typeof |
uint |
| volatile |
base |
as |
bool |
break |
catch |
case |
| null |
while |
|
|
|
|
|