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 的和。

适用于