Muokkaa

Jaa


IAdditionOperators<TSelf,TOther,TResult>.CheckedAddition Operator

Definition

Adds two values together to compute their sum.

public:
 static override TResult op_CheckedAddition(TSelf left, TOther right);
public static virtual TResult op_CheckedAddition (TSelf left, TOther right);
static member op_CheckedAddition : 'Self * 'Other -> 'Result
Public Shared Overrides op_CheckedAddition (left As TSelf, right As TOther) As TResult

Parameters

left
TSelf

The value to which right is added.

right
TOther

The value which is added to left.

Returns

TResult

The sum of left and right.

Exceptions

The sum of left and right is not representable by TResult.

Applies to