Operator Method

You design a C# operator using an operation with the <<Operator>> stereotype. Make sure the <<Operator>> operation has the Public visibility and the Static property selected.

To define an external operator, you have to set the extern extended attribute of the operation to True. The new, virtual and override extended attributes are not valid for operators.

The operator token (like +, -, !, ~, or ++ for example) is the name of the method.