UIntExtensions.IsOdd
Extension Method in UIntExtensions
Declaration
public static bool IsOdd(this uint n)Description
Checks if the number is odd. n % 2 != 0
Parameters
| n | The number to check. |
Returns
| bool | True if the number is odd. |
public static bool IsOdd(this uint n)Checks if the number is odd. n % 2 != 0
| n | The number to check. |
| bool | True if the number is odd. |