O'Reilly logo

C# 4.0 in a Nutshell, 4th Edition by Ben Albahari, Joseph Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 performs a reference conversion, evaluating to null (rather than throwing an exception) if the conversion fails.

ascending

A query syntax operator used in conjunction with orderby.

base

Accesses a base-class implementation of a member.

Calls the base class’s constructor from a subclass’s constructor.

bool

A logical data type that can be true or false.

break

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

by

A query syntax operator used in conjunction with group.

byte

A 1-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 2-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 parameter constraint, indicating the generic type must be a reference type.

const

A modifier for a local variable or field declaration whose value is statically evaluated and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required