Skip to content

UInt16Extensions.RightMostBit Method ​

Definition ​

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

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

View source

Parameters ​

NameTypeDescription
valueUInt16

Returns ​

Boolean

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