Ad
Fundamentals
Logic
Code
Diff
  • using System.Linq;
    public class Math
    {
      public static int Max(params int[] param) => param.Max();
    }  
    • using System.Linq;
    • public class Math
    • {
    • public static int Max(int a, int b) => (a > b) ? a : b;
    • public static int Max(params int[] param) => param.Max();
    • }