UInt16.PopCount(UInt16) Método

Definição

Calcula o número de bits que estão definidos num 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

O valor cujos bits de conjunto devem ser contados.

Devoluções

O número de bits de conjunto em value.

Implementações

Aplica-se a