Int64.IUnaryNegationOperators<Int64,Int64>.UnaryNegation(Int64) Operator

Definition

Computes the unary negation of a value.

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

Parameters

value
Int64

The value for which to compute the unary negation.

Returns

The unary negation of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10