Skip to content

UInt32Extensions.LeftMostBit Method ​

Definition ​

Gets the left-most bit (bit 31) of a uint.

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

View source

Parameters ​

NameTypeDescription
valueUInt32

Returns ​

Boolean

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