IAdditionOperators<TSelf,TOther,TResult>.CheckedAddition Operator

Definition

Adds two values together to compute their sum.

C#
public static virtual TResult op_CheckedAddition(TSelf left, TOther right);

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

Proizvod Verzije
.NET 7, 8, 9, 10