Skip to content

Int32Extensions.RightMostBit Method ​

Definition ​

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

c#
public static bool RightMostBit(this int value);

View source

Parameters ​

NameTypeDescription
valueInt32

Returns ​

Boolean

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