Byte.PopCount(Byte) Método

Definición

Calcula el número de bits que se establecen en un valor.

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

Parámetros

value
Byte

Valor cuyos bits establecidos se van a contar.

Devoluciones

Número de bits establecidos en value.

Implementaciones

Se aplica a