in

Code rule

Code rule | code-memes, private-memes | ProgrammerHumor.io
code-memes, private-memes | ProgrammerHumor.io

Content

God I wish there was an easier way to do this private bool IsEven (int number) if (number 1) return false; else tf (number 2) return true; else if (number 3) return false; else if (number 4) return true; else if (number 5) return false; else if (number 6) return true; else if (number 7) return false; else if (number 8) return true; else if (number 9) return false: else if (number 10) return true; else if (number 11) return false; else if (number 12) return true; else if (number 13) return false; else if (number as 14) return trues else if (number 15) return false: else if (number 16) return true; else if (number 17) return false ProarammerHumor in