Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //_demoBGwoker.ProgressChanged += _demoBGwoker_ProgressChanged;
            //_demoBGwoker.DoWork += _demoBGwoker_DoWork;
            //_demoBGwoker.RunWorkerAsync(100);
            //AbstactClass abs2 = new AbstractClass3();
            //VirtualClassFather virtualClass = new VirtualClass();
            //virtualClass.CreateNode();
            //var delegateclass = new BeginInvokeClass();
            //BeginInvokeClass.start();
            //ChildClass1 child = new ChildClass1("1", "2d");
            //child.CheckTest();
            var list     = new ConcreteList();
            var iterator = list.GetIterator();

            while (iterator.MoveNext())
            {
                int i = (int)iterator.GetCurrent();
                Console.WriteLine(i.ToString());
                iterator.Next();
            }
        }
Ejemplo n.º 2
0
 public ConcreteIterator(ConcreteList list)
 {
 }