UInt16.PopCount(UInt16) Método

Definición

Calcula el número de bits establecidos en un valor.

public:
 static System::UInt16 PopCount(System::UInt16 value) = System::Numerics::IBinaryInteger<System::UInt16>::PopCount;
public static ushort PopCount (ushort value);
static member PopCount : uint16 -> uint16
Public Shared Function PopCount (value As UShort) As UShort

Parámetros

value
UInt16

Valor cuyos bits establecidos se van a contar.

Devoluciones

Número de bits establecidos en value.

Implementaciones

Se aplica a