C# Keywords
abstractA class modifier that specifies a class cannot be instantiated and the full implementation will be provided by a subclass.
A method modifier that specifies a method is implicitly virtual and without an implementation.
aliasSuffixes an
externdirective.asA binary operator that casts the left operand to the type specified by the right operand and returns
nullrather than throwing an exception if the cast fails.ascendingA query comprehension operator used in conjunction with
orderby.baseA variable with the same meaning as
this, except that it accesses a base-class implementation of a member.boolA logical datatype that can be
trueorfalse.breakA jump statement that exits a loop or
switchstatement block.byA query comprehension operator used in conjunction with
group.byteA 1-byte, unsigned integral data type.
caseA selection statement that defines a particular choice in a
switchstatement.catchA keyword for the clause in a
trystatement to catch exceptions of a specific type.charA 2-byte, Unicode character data type.
checkedA statement or operator that enforces arithmetic bounds checking on an expression or statement block.
classA type declaration keyword for a custom reference type; typically used as a blueprint for creating objects.
A generic type constraint, indicating the generic type must be a reference type.
constA modifier for a local variable or field declaration that indicates that the value is statically evaluated and immutable.
continueA jump statement that skips ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access