Int16.IBitwiseOperators<Int16,Int16,Int16>.OnesComplement(Int16) Operator

Definition

Computes the ones-complement representation of a given value.

C#
static short IBitwiseOperators<short,short,short>.operator ~(short value);

Parameters

value
Int16

The value for which to compute the ones-complement.

Returns

The ones-complement of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10