Edit

Share via


Int16.LeadingZeroCount(Int16) Method

Definition

Computes the number of leading zeros in a value.

C#
public static short LeadingZeroCount(short value);

Parameters

value
Int16

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, 10