Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 |
   ShiftOperatorExpression

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)

Show:
© 2015 Microsoft