Edit

Share via


IAdditionOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for computing the sum of two values.

C#
public interface IAdditionOperators<TSelf,TOther,TResult> where TSelf : IAdditionOperators<TSelf,TOther,TResult>

Type Parameters

TSelf

The type that implements this interface.

TOther

The type that will be added to TSelf.

TResult

The type that contains the sum of TSelf and TOther.

Derived

Operators

Addition(TSelf, TOther)

Adds two values together to compute their sum.

CheckedAddition(TSelf, TOther)

Adds two values together to compute their sum.

Applies to

Product Versions
.NET 7, 8, 9