Прочитај на енглеском Уреди

Делите путем


Int32.LeadingZeroCount(Int32) Method

Definition

Computes the number of leading zeros in a value.

C#
public static int LeadingZeroCount(int value);

Parameters

value
Int32

The value whose leading zeroes are to be counted.

Returns

The number of leading zeros in value.

Implements

Applies to

Производ Верзије
.NET 7, 8, 9, 10