Keywords are predefined words for the C# compiler reserved, and I cannot use these terms as identifiers. You can, however, prefix the term with the @ character if you want to utilize these keywords as identifiers.
In C#, certain identities have a unique significance in code context as contextual keywords, such as to get and set.
The table below includes the keywords and contextual keywords reserved for C# -
| abstract | as | base | bool | break | byte | case |
| catch | char | checked | class | const | continue | decimal |
| default | delegate | do | double | else | enum | event |
| explicit | extern | false | finally | fixed | float | for |
| foreach | goto | if | implicit | in | in (generic modifier) | int |
| interface | internal | is | lock | long | namespace | new |
| null | object | operator | out | out (generic modifier) | override | params |
| private | protected | public | readonly | ref | return | sbyte |
| sealed | short | sizeof | stackalloc | static | string | struct |
| switch | this | throw | true | try | typeof | uint |
| ulong | unchecked | unsafe | ushort | using | virtual | void |
| volatile | while |
| add | alias | descending | dynamic | from | get |
| global | into | join | let | orderby | partial (type) |
| partial(method) | select | set |
|
|