IteratorPattern()
        {
            Iterator        iterator;
            IListCollection list = new ConcreteList();

            iterator = list.GetIterator();

            while (iterator.MoveNext())
            {
                int i = (int)iterator.GetCurrent();
                Console.WriteLine(i.ToString());
                iterator.Next();
            }

            Console.Read();
        }
 public ConcreteIterator(ConcreteList list)
 {
     _list  = list;
     _index = 0;
 }