public static int GetMinNumBoats(int[] arr, int limit) {
if (arr[i] + arr[j] <= limit)
public static void Main()
Console.WriteLine("UniLecs");
Console.WriteLine(GetMinNumBoats(new int[] { 1, 2 }, 3).ToString());
Console.WriteLine(GetMinNumBoats(new int[] { 3,2,2,1 }, 3).ToString());