Ad
Fundamentals
Code
Diff
  • using System;
    
    public class Kata
        {
            public  static int Opposite(int number) => ~number + 1;
        }
    • using System;
    • public class Kata
    • {
    • public static int Opposite(int number) => number/-1;
    • public static int Opposite(int number) => ~number + 1;
    • }