Method IsEven
IsEven(int)
Determines whether the specified integer value is even.
public static bool IsEven(int value)
Parameters
value
intThe integer value to check.
Returns
- bool
true
if 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
.