Skip to content

Int64Extensions.LeftMostBit Method ​

Definition ​

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

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

View source

Parameters ​

NameTypeDescription
valueInt64

Returns ​

Boolean

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