Int32.PopCount(Int32) Methode

Definition

Berechnet die Anzahl von Bits, die in einem Wert festgelegt sind.

public:
 static int PopCount(int value) = System::Numerics::IBinaryInteger<int>::PopCount;
public static int PopCount (int value);
static member PopCount : int -> int
Public Shared Function PopCount (value As Integer) As Integer

Parameter

value
Int32

Gibt zurück

Int32

Die Anzahl der festgelegten Bits in value.

Implementiert

Gilt für