UInt16.IBitwiseOperators<UInt16,UInt16,UInt16>.OnesComplement Operator

Definition

Computes the ones-complement representation of a given value.

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

Parameters

value
UInt16

The value for which to compute the ones-complement.

Returns

The ones-complement of value.

Implements

Applies to

Product Versions
.NET 7, 8, 9