Identifiers are the names given to various elements of the programs like variables, classes, namespaces, interfaces and structures.
Here are some rules which are defined for the C# Identifiers given below:
- Identifier can use the alphabets, digits and underscore.
- Identifier begins with the alphabets or underscores (_).
- Identifier cannot begin with the digits (0-9).
- C# is a case sensitive language that is why upper case and lower case letters are treated separately.
- Keywords cannot be used as the identifiers. If we want to use the keywords as identifiers then we have to use them with the prefix "@".