11.12 Operator Expressions
This documentation is archived and is not being maintained.

11.12 Operator Expressions

Visual Studio .NET 2003

There are two kinds of operators. Unary operators take one operand and use prefix notation (for example, –x). Binary operators take two operands and use infix notation (for example, x + y). With the exception of the relational operators, which always result in Boolean, an operator defined for a particular type results in that type. The operands to an operator must always be classified as a value; the result of an operator expression is classified as a value.

OperatorExpression ::=
   ArithmeticOperatorExpression |
   RelationalOperatorExpression |
   LikeOperatorExpression |
   ConcatenationOperatorExpression |
   ShortCircuitLogicalOperatorExpression |
   LogicalOperatorExpression |

See Also

11.12.1 Operator Precedence and Associativity | 11.12.2 Object Operands | 11.12.3 Operator Resolution | 11.13 Arithmetic Operators | 11.14 Relational Operators | 11.15 Like Operator | 11.16 Concatenation Operator | 11.17 Logical Operators | 11.18 Shift Operators | Operators (Visual Basic Language Reference) | Operators (Visual Basic Language Concepts)

© 2016 Microsoft