Home > Article > Backend Development > Keywords in C#
Keywords are reserved words predefined for the C# compiler. These keywords cannot be used as identifiers. However, if you want to use these keywords as identifiers, you can precede the keywords with the @ character.
The following are two types of keywords in C#.
Abstract | as | Basic | Bool | td >Interrupt | Bytes | Case | |
Capture | Characters | SelectClass | const | Continue | Decimal | ||
Default | Delegation | Execution | Double | Other | Enumeration | Event | td> |
Display formula | external | false | finally | fix | floatingfor | ||
foreach | Go to | if | Implicit | in | in (universal modifier) | int | |
Interface | Internal | is | Lock | long | Namespace | new | Object | Operator | Out | out (universal modifier) | Override | Parameters |
Protected | Public | Read only | ref | Return | sbyte | ||
short | sizeof | stackalloc | static | string | structure | ||
This | throws | True | try | typeof | uint | ||
Unchecked | Unsafe | Ushort | Use | Virtual | Invalid | ||
And |
Alias | Ascending | Descending | Dynamic | From | Get | |
Group | Enter | Join | Let | orderby | Part (Type) | |
Delete | Select | set up |
The above is the detailed content of Keywords in C#. For more information, please follow other related articles on the PHP Chinese website!