Int32.LeadingZeroCount(Int32) 方法
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算值中前导零的数目。
public:
static int LeadingZeroCount(int value) = System::Numerics::IBinaryInteger<int>::LeadingZeroCount;
C#
public static int LeadingZeroCount(int value);
static member LeadingZeroCount : int -> int
Public Shared Function LeadingZeroCount (value As Integer) As Integer
- value
- Int32
要对其前导零进行计数的值。
中 value
前导零的数目。
产品 | 版本 |
---|---|
.NET | 7, 8, 9, 10 |