Skip to content

Int32Extensions.LeftMostBit Method

Definition

Gets the left-most bit (bit 31) of an int.

public static bool LeftMostBit(this int value);

View source

Parameters

Name Type Description
value Int32

Returns

Boolean

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