Edit

Share via


UInt32.LeadingZeroCount(UInt32) Method

Definition

Computes the number of leading zeros in a value.

C#
public static uint LeadingZeroCount(uint value);

Parameters

value
UInt32

The value whose leading zeroes are to be counted.

Returns

The number of leading zeros in value.

Implements

Applies to

Product Versions
.NET 7, 8, 9