Edit

Share via


UInt16.LeadingZeroCount(UInt16) Method

Definition

Computes the number of leading zeros in a value.

C#
public static ushort LeadingZeroCount(ushort value);

Parameters

value
UInt16

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