public void TestListaGeneryczna() { BrzydkaGenerycznaLista<MyClass> mojaLista = new BrzydkaGenerycznaLista<MyClass>(); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); Debug.WriteLine(mojaLista); }
public void TestListaGeneryczna() { BrzydkaGenerycznaLista <MyClass> mojaLista = new BrzydkaGenerycznaLista <MyClass>(); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); mojaLista.AddElement(new MyClass()); Debug.WriteLine(mojaLista); }