Byte.PopCount(Byte) Methode

Definitie

Berekent het aantal bits dat in een waarde is ingesteld.

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

Parameters

value
Byte

De waarde waarvan de ingestelde bits moeten worden geteld.

Retouren

Het aantal ingestelde bits in value.

Implementeringen

Van toepassing op