Ad
Fundamentals
Numbers
Data Types
Integers

Since it checks "int" type, it is enough to check the first bit.

Code
Diff
  • using System;
    public static class Kata
    {
        public static bool IsOdd(int input) => (input & 1) == 1; 
    }
    • using System;
    • public static class Kata
    • {
    • public static bool IsOdd(int input) => Math.Abs(input)%2==1;
    • public static bool IsOdd(int input) => (input & 1) == 1;
    • }