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

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the unary negation of a value.

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

Parameters

value
Byte

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