Skip to content

UInt16Extensions.LeftMostBit Method ​

Definition ​

Gets the left-most bit (bit 15) of a UInt16.

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

View source

Parameters ​

NameTypeDescription
valueUInt16

Returns ​

Boolean

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