Skip to content

Int64Extensions.RightMostBit Method

Definition

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

public static bool RightMostBit(this long value);

View source

Parameters

Name Type Description
value Int64

Returns

Boolean

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