Skip to content

UInt64Extensions.LeftMostBit Method ​

Definition ​

Gets the left-most bit (bit 63) of a ulong.

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

View source

Parameters ​

NameTypeDescription
valueUInt64

Returns ​

Boolean

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