abstract
A class modifier that specifies that the class must be derived-from to be instantiated.
as
A binary operator type that casts the left operand to the type
specified by the right operand and that returns null
rather than throwing an exception if
the cast fails.
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.
byte
A one-byte, unsigned integral data type.
case
A selection statement that defines a particular choice in a
switch
statement.
catch
The part of a try
statement
that catches exceptions of a specific type defined in the catch
clause.
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
An extendable reference type that combines data and functionality into one unit.
const
A modifier for a local variable or field declaration that
indicates that the value is a constant. A const
is evaluated at compile time and can
be only a predefined type.
continue
A jump statement that skips the remaining statements in a statement block and continues to the next iteration in a loop.
decimal
A 16-byte precise decimal datatype.
default
A marker in a switch
statement specifying the action to take when no case
statements match the switch
expression.
delegate
A type for defining a method signature so delegate instances can hold and invoke a method or list of methods that match its signature.
do
A loop statement to iterate a statement block until an
expression at the end of the loop evaluates tofalse
.
double
An eight-byte, floating-point data type.
else
A conditional statement that defines the action to take when a
precedingif
expression evaluates
to false
.
enum
A value type that defines a group of named numeric constants.
event
A member modifier for a delegate field or property that
indicates that only the+=
and-=
methods of the delegate can
be accessed.
explicit
An operator that defines an explicit conversion.
extern
A method modifier that indicates that the method is implemented with unmanaged code.
false
A Boolean literal.
finally
The part of atry
statement
to execute whenever control leaves the scope of thetry
block.
fixed
A statement to pin down a reference type so the garbage collector won’t move it during pointer arithmetic operations.
float
A four-byte floating-point data type.
for
A loop statement that combines an initialization statement, continuation condition, and iterative statement into one statement.
foreach
A loop statement that iterates over collections that implement
IEnumerable
.
get
The name of the accessor that returns the value of a property.
goto
A jump statement that jumps to a label within the same method and same scope as the jump point.
if
A conditional statement that executes its statement block if
its expression evaluates totrue
.
implicit
An operator that defines an implicit conversion.
in
The operator between a type and an IEnumerable
in a foreach
statement.
int
A four-byte, signed integral data type.
interface
A contract that specifies the members that aclass or structmay implement to receive generic services for that type.
internal
An access modifier that indicates that a type or type member is accessible only to other types in the same assembly.
is
A relational operator that evaluates to true
if the left operand’s type matches,
is derived-from, or implements the type specified by the right
operand.
lock
A statement that acquires a lock on a reference-type object to help multiple threads cooperate.
long
An eight-byte, signed integral data type.
namespace
A keyword that maps a set of types to a common name.
new
An operator that calls a constructor on a type, allocating a new object on the heap if the type is a reference type, or initializing the object if the type is a value type. The keyword is overloaded to hide an inherited member.
null
A reference-type literal that indicates that no object is referenced.
object
The type all other types derive from.
operator
A method modifier that overloads operators.
out
A parameter modifier that specifies that the parameter is passed by reference and must be assigned by the method being called.
override
A method modifier that indicates that a method of a class overrides a virtualmethod of a class orinterface.
params
A parameter modifier that specifies that the last parameter of a method may accept multiple parameters of the same type.
private
An access modifier that indicates that only the containing type can access the member.
protected
An access modifier that indicates that only the containing type or derived types can access the member.
public
An access modifier that indicates that a type or type member is accessible to all other types.
readonly
A field modifier specifying that a field can be assigned only once, either in its declaration or in its containing type’s constructor.
ref
A parameter modifier that specifies that the parameter is passed by reference and is assigned before being passed to the method.
return
A jump statement that exits a method, specifying a return value when the method is non-void.
sbyte
A one-byte, signed integral data type.
sealed
A class modifier that indicates a class cannot be derived-from.
set
The name of the accessor that sets the value of a property.
short
A two-byte, signed integral data type.
sizeof
An operator that returns the size in bytes of a struct.
stackalloc
An operator that returns a pointer to a specified number of value types allocated on the stack.
static
A type member modifier that indicates that the member applies to the type rather than to an instance of the type.
string
A predefined reference type that represents an immutable sequence of Unicode characters.
struct
A value type that combines data and functionality in one unit.
switch
A selection statement that allows a selection of choices to be made based on the value of a predefined type.
this
A variable that references the current instance of a classor struct.
throw
A jump statement that throws an exception when an abnormal condition has occurred.
true
A Boolean literal.
try
A statement that provides a way to handle an exception or a premature exit in a statement block.
typeof
An operator that returns the type of an object as a System.Type
object.
uint
A four-byte, unsigned integral data type.
ulong
An eight-byte, unsigned integral data type.
unchecked
A statement or operator that prevents arithmetic bounds checking on an expression.
unsafe
A method modifier or statement that permits pointer arithmetic to be performed within a particular block.
ushort
A two-byte, unsigned integral data type.
using
A directive that specifies that types in a particular
namespace can be referred to without requiring their fully qualified
type names. The keyword is overloaded as a statement that allows an
object that implements IDisposable
to be disposed of at the end
of the statement’s scope.
value
The name of the implicit variable set by the set accessor of a property.
virtual
A class method modifier that indicates that a method can be overridden by a derived class.
void
A keyword used in place of a type for methods that don’t have a return value.
volatile
A field modifier indicating that a field’s value may be modified in a multithreaded scenario and that neither the compiler nor runtime should perform optimizations with that field.
while
A loop statement to iterate a statement block while an
expression at the start of each iteration evaluates to false
.