UInt16.IUnaryNegationOperators<UInt16,UInt16>.UnaryNegation Operator

Definition

Computes the unary negation of a value.

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

Parameters

value
UInt16

The value for which to compute the unary negation.

Returns

The unary negation of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9