ISubtractionOperators<TSelf,TOther,TResult>.Subtraction Operator

Definition

Subtracts two values to compute their difference.

C#
public static abstract TResult operator -(TSelf left, TOther right);

Parameters

left
TSelf

The value from which right is subtracted.

right
TOther

The value which is subtracted from left.

Returns

TResult

The value of right subtracted from left.

Applies to

Product Versions
.NET 7, 8, 9, 10