UInt16.PopCount(UInt16) Yöntem

Tanım

Bir değerde ayarlanan bit sayısını hesaplar.

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

Parametreler

value
UInt16

Küme bitleri sayılacak olan değer.

Döndürülenler

içindeki valueayarlanan bit sayısı.

Uygulamalar

Şunlara uygulanır