Edit

Share via


Int64.TrailingZeroCount(Int64) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the number of trailing zeros in a value.

C#
public static long TrailingZeroCount(long value);

Parameters

value
Int64

The value whose trailing zeroes are to be counted.

Returns

The number of trailing zeros in value.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10