Прочетете на английски Редактиране

Споделяне чрез


Int32.IBitwiseOperators<Int32,Int32,Int32>.OnesComplement(Int32) 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 ones-complement representation of a given value.

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

Parameters

value
Int32

The value for which to compute the ones-complement.

Returns

The ones-complement of value.

Implements

Applies to

Продукт Версии
.NET 7, 8, 9, 10