共用方式為


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

leftright 的總和。

適用於