static void Main(string[] args) { MyAg collection = new MyAg(); IAggregate my = (IAggregate)collection; IIterator itterator = my.GetIterator(); while (!itterator.IsDone) { Console.WriteLine(itterator.NextItem); } Console.ReadKey(); }