Language Element | Short Description |
---|---|
& Operator | Returns delegate of function or alias of variable. |
* Operator (unary) | Returns alias of variable. |
Comma Operator (,) | Causes two expressions to be executed sequentially. |
New Operator | Creates a new object. |
+ Operator (unary) | Returns copy of array. |
Returns delegate of function or alias of variable.result = & exprArguments
resultAny variable.exprFunction or variable.
Returns alias of variable.result = * exprArguments
resultAny variable.exprAny expression.
Causes two expressions to be executed sequentially.expression1, expression2Arguments
expression1, expression2The , operator causes the expressions on either side of it to be executed in left-to-right order, and obtains the value of the expression on the right.Any expression.
Creates a new object.result = new constructor'(' [arguments] ')'Arguments
resultAny variableconstructorA class nameargumentsOptional. Any arguments to be passed to the new object's constructor.Example
X = new Point(3, 5);
Returns copy of array.result = + exprArguments
exprAny expression