IntExtensions.IsNegative
Extension Method in IntExtensions
Declaration
public static bool IsNegative(this int n)
Description
Checks if the number is negative. n < 0
Parameters
n | The number to check. |
Returns
bool | True if the number is negative. |
public static bool IsNegative(this int n)
Checks if the number is negative. n < 0
n | The number to check. |
bool | True if the number is negative. |