Method IsEqualEven
IsEqualEven(int, int)
Determines whether two integers have the same evenness (both even or both odd).
public static bool IsEqualEven(int a, int b)
Parameters
Returns
- bool
trueif both integers are either even or odd; otherwise,false.