Skip to content

ByteExtensions.RightMostBit Method

Definition

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

public static bool RightMostBit(this Byte value);

View source

Parameters

Name Type Description
value Byte The byte value.

Returns

Boolean

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