Single.IUnaryNegationOperators<Single,Single>.UnaryNegation Operator

Definition

Computes the unary negation of a value.

C#
static float IUnaryNegationOperators<float,float>.operator -(float value);

Parameters

value
Single

The value for which to compute the unary negation.

Returns

The unary negation of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9