Skip to content

ByteExtensions.RightMostBit Method ​

Definition ​

Gets the right-most bit (bit 0) of a byte.

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

View source

Parameters ​

NameTypeDescription
valueByteThe byte value.

Returns ​

Boolean

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