This documentation is archived and is not being maintained.

11.16 Concatenation Operator

Visual Studio .NET 2003

The concatenation operator is defined for the String type. To make string concatenation simpler, for the purposes of operator resolution, all conversions to String are considered to be widening, regardless of whether strict semantics are used. A concatenation operation results in a string that is the concatenation of the two operands in order from left to right.

In concatenation expressions, Nothing is treated as if it were the empty string literal "". Also, if only one operand is typed as System.DBNull, that operand is treated as if it was the literal Nothing.

ConcatenationOperatorExpression ::= Expression & Expression

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.17 Logical Operators | & Operator (Visual Basic Language Reference)