Visual Basic (Declaration) |
---|
Public Shared Operator +( _ ByVal left As Cube, _ ByVal right As Cube _ ) As Cube |
C# |
---|
public static Cube operator +( Cube left, Cube right ) |
C++ |
---|
public: static Cube operator +( Cube left, Cube right ) |
J# |
---|
JSharp does not support overloaded operators. |
JScript |
---|
JScript supports the use of overloaded operators, but not the declaration of new ones. |