static void Main(string[] args) { TheShuttles x = new TheShuttles(); int[] a = { 51, 1, 77, 14, 17, 10, 80 }; Console.WriteLine(x.getLeastCost(a, 32, 40)); Console.ReadLine(); }