This article has been excerpted from book "Visual C# Programmer's Guide"An expression, constructed of a sequence of operators and operands, specifies computation of a value or designates a variable or constant. The operators of an expression indicate which operations to apply to the operands. Examples of operators include +, -, *, /, and new. Examples of operands include literals, fields, local variables, and expressions. Most of the constructs that involve an expression ultimately require the expression to denote a value. In such cases, an error occurs if the actual expression denotes a namespace, a type, a method group, or nothing. However, if the expression denotes a property access, an indexer access, or a variable, the value of the property, indexer, or variable is implicitly substituted. The C# Language Specification includes just three types of operators:
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: