public static void Main (string[] args) { List<int> testList = new List<int>(){3,2,4,5,6,1,0,9}; //List<int> testList = new List<int>(); Finder finder = new Finder (); List<int> result = finder.FindMaximum (testList, 3); if (result == null) Console.WriteLine ("null"); else { foreach (int i in result) { Console.Write (i + " "); } } }