Class IntExtensions
Inherited Members
Namespace: InsaneScatterbrain.Extensions
Syntax
public static class IntExtensions
Methods
IsEven(int)
Declaration
public static bool IsEven(this int number)
Parameters
Type | Name | Description |
---|---|---|
int | number |
Returns
Type | Description |
---|---|
bool |
IsOdd(int)
Declaration
public static bool IsOdd(this int number)
Parameters
Type | Name | Description |
---|---|---|
int | number |
Returns
Type | Description |
---|---|
bool |