Method IsEven
IsEven(int)
Determines whether the specified integer value is even.
public static bool IsEven(int value)
Parameters
valueintThe integer value to check.
Returns
- bool
trueif the value is even; otherwise,false.
Determines whether the specified integer value is even.
public static bool IsEven(int value)
value intThe integer value to check.
true if the value is even; otherwise, false.