Class IntExtensions
Inheritance
System.Object
IntExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: InsaneScatterbrain.Extensions
Syntax
public static class IntExtensions
Methods
IsEven(Int32)
Declaration
public static bool IsEven(this int number)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | number |
Returns
Type | Description |
---|---|
System.Boolean |
IsOdd(Int32)
Declaration
public static bool IsOdd(this int number)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | number |
Returns
Type | Description |
---|---|
System.Boolean |