Skip to content

Int32Extensions.SignBit Method ​

Definition ​

Gets the sign bit (bit 31) of an int.

c#
public static bool SignBit(this int value);

View source

Parameters ​

NameTypeDescription
valueInt32

Returns ​

Boolean

true if the sign bit is set; false otherwise.