IsEven Method
Definition
IsEven(int)
Determines whether the specified value is an even number.
public static bool IsEven(int value)
Parameters
valueintThe value to evaluate.
Returns
- bool
trueif the specifiedvalueis an even number; otherwise,false.