Int32.IUnaryNegationOperators<Int32,Int32>.CheckedUnaryNegation 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 checked unary negation of a value.

C#
static int IUnaryNegationOperators<int,int>.op_CheckedUnaryNegation(int value);

Parameters

value
Int32

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