IBitwiseOperators<TSelf,TOther,TResult>.OnesComplement(TSelf) Operator

Definition

Computes the ones-complement representation of a given value.

C#
public static abstract TResult operator ~(TSelf value);

Parameters

value
TSelf

The value for which to compute the ones-complement.

Returns

TResult

The ones-complement of value.

Applies to

Produkt Verzie
.NET 7, 8, 9, 10