Skip to content

Int32Extensions.RightMostBit Method

Definition

Gets the right-most bit (bit 0) of an int.

public static bool RightMostBit(this int value);

View source

Parameters

Name Type Description
value Int32

Returns

Boolean

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