SampleClassAddition Operator
Addition operator overload
Namespace: XMLCommentsExamplesAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public static SampleClass operator +(
SampleClass left,
SampleClass right
)
Public Shared Operator + (
left As SampleClass,
right As SampleClass
) As SampleClass
public:
static SampleClass^ operator +(
SampleClass^ left,
SampleClass^ right
)
static let inline (+)
left : SampleClass *
right : SampleClass : SampleClass
- left SampleClass
- The left value
- right SampleClass
- The right value
SampleClassA new instance containing the sum of the left and right
sample numbers