Appendix A. C# Keywords

abstract

A 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.

add

An event accessor for customizing the subscription to an event.

alias

Suffixes an extern directive.

as

A binary operator that casts the left operand to the type specified by the right operand and returns null rather than throwing an exception if the cast fails.

ascending

A query comprehension operator used in conjunction with orderby.

base

A variable with the same meaning as this, except that it accesses a base-class implementation of a member.

bool

A logical datatype that can be true or false.

break

A jump statement that exits a loop or switch statement block.

by

A query comprehension operator used in conjunction with group.

byte

A one-byte, unsigned integral data type.

case

A selection statement that defines a particular choice in a switch statement.

catch

A keyword for the clause in a try statement to catch exceptions of a specific type.

char

A two-byte, Unicode character data type.

checked

A statement or operator that enforces arithmetic bounds checking on an expression or statement block.

class

A 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.

const

A modifier for a local variable or field declaration that indicates that ...

Get C# 3.0 in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.