Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Operator Keywords

This section introduces the following keywords:

  • as   Convert an object to a compatible type.
  • is   Check the run-time type of an object.
  • new
  • sizeof   Obtain the size of a type.
  • typeof   Obtain the System.Type object for a type.
  • true   Return the boolean value true.
  • false   Return the boolean value false.
  • stackalloc   Allocate a block of memory on the stack.

The following keywords, which can be used as operators and as statements, are covered in the Statements section:

  • checked   Specify checked context.
  • unchecked   Specify unchecked context.

See Also

C# Keywords | C# Operators

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft