C# - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

C# keywords

c# keywords

shape Description

Keywords in C# are reserved predefined words which cannot be used as identifiers. However, if wanted to use these keywords as identifiers, prefix the keyword with @ character. In C#, some identifiers have special meaning in the context of code, for instance, get and set are called Contextual keywords.

shape Keywords

The following table lists the reserved keywords and contextual keywords in C#.
int float char const as do
double decimal break continue enum if
else while decimal false finally event
foreach for extern abstract bool byte
delegate case checked interface internal readonly
null object stackalloc private protected true
sealed short public switch this sizeof
ulong unchecked throw volatile checked class
is out implicit lock operator