语言

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

适用于