Class IntExtensions
Inheritance
object
IntExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |