IUnaryNegationOperators<TSelf,TResult>.UnaryNegation(TSelf) Operator

Definition

Computes the unary negation of a value.

public static abstract TResult operator - (TSelf value);

Parameters

value
TSelf

The value for which to compute the unary negation.

Returns

TResult

The unary negation of value.

Applies to

Product Versions
.NET 7, 8, 9