Appendix A. 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.
addAn event accessor for customizing the subscription to an
event.aliasSuffixes an
externdirective.asA binary operator that performs a reference conversion, evaluating to
null(rather than throwing an exception) if the conversion fails.ascendingA query syntax operator used in conjunction with
orderby.baseAccesses a base-class implementation of a member.
Calls the base class’s constructor from a subclass’s constructor.
boolA logical data type that can be
trueorfalse.breakA jump statement that exits a loop or
switchstatement block.byA query syntax 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 parameter constraint, indicating the generic type must be a reference type.
constA modifier for a local variable or field declaration whose value is statically evaluated and ...
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