C#.NET Keywords

  • Every programming language contains some predefined words reserved for its use. These words are known as keywords.
  • One cannot use these keywords as the identifier. Identifier is a name given to the several entities in a program.
  • C#.NET contains some reserved words having some special meaning called keywords.
  • The Meaning of each keyword is fixed. We cannot change the meaning of keywords.
  • We cannot use any of the keywords as the identifier and if we use any keyword as identifier then we will get error.
  • Here is a list of keywords provided by the C#.NET:
  • keywords

Contextual Keyword

Contextual keywords have special meaning only in a limited program context and can be used as identifiers outside that context.

keywords