public static void PrintAll(IEnumerable<Object> sequence) { foreach (Object o in sequence) { Console.WriteLine(o); } }