you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 2 years ago
 private bool IsEven(int number){
    return number % 2 ? false : true;
 }
  • source
  • parent