SByte.PopCount(SByte) 方法

定义

计算值中设置的位数。

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

参数

value
SByte

要对其设置位进行计数的值。

返回

中的 value设置位数。

实现

适用于