語言

IAdditionOperators<TSelf,TOther,TResult>.Addition(TSelf, TOther) 運算子

定義

將兩個值加在一起以計算其總和。

public:
 static TResult operator +(TSelf left, TOther right);
public static abstract TResult operator +(TSelf left, TOther right);
static member ( + ) : 'Self * 'Other -> 'Result
Public Shared Operator + (left As TSelf, right As TOther) As TResult

參數

left
TSelf

價值會被加到 right 上去。

right
TOther

加到 left的值。

傳回

TResult

left 和 right 的總和。

適用於