Skip to content

UInt64Extensions.RightMostBit Method

Definition

Gets the right-most bit (bit 0) of a ulong.

public static bool RightMostBit(this ulong value);

View source

Parameters

Name Type Description
value UInt64

Returns

Boolean

true if the right-most bit is set; false otherwise.