Keywords in C#


Keywords in C# Programming Language:

Keywords: Keywords are reserved words.
Their meaning and purpose is already defined within the C# compiler
Keywords must be written in lower case letters.
Keywords should not be used for naming identifiers or programmer defined names.
For naming variables, constants, arrays, methods, structures, classes, interfaces, enums etc. should not use keywords

Ex (80+):
const readonly volatile
var static extern stackalloc

byte sbyte
char short int long
ushort uint ulong
float double decimal
bool true false
object string null

typeof sizeof

if else switch case
for while do foreach in
break continue goto return

out ref virtual override
params default operator void

struct class interface enum
abstract sealed new

private protected public internal

this base using namespace

try catch throw finally

event delegate where yield

select from group descending orderby
fixed lock explicit implicit into

checked unchecked unsafe as is