Ad

Condensed into a single line

Code
Diff
  • namespace Solution
    {
        public class MyCalculator
        {
            public int Add(int a, int b) => a + b;
        }
    }
    • namespace Solution
    • {
    • public class MyCalculator
    • {
    • public int Add(int a, int b)
    • {
    • return a + b;
    • }
    • public int Add(int a, int b) => a + b;
    • }
    • }