Skip to content

ByteExtensions.LeftMostBit Method ​

Definition ​

Gets the left-most bit (bit 7) of a byte.

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

View source

Parameters ​

NameTypeDescription
valueByteThe byte value.

Returns ​

Boolean

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