Skip to content

UInt64Extensions.RightMostBit Method ​

Definition ​

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

c#
public static bool RightMostBit(this ulong value);

View source

Parameters ​

NameTypeDescription
valueUInt64

Returns ​

Boolean

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