6
Jak zaimplementować IEnumerable <T>
Wiem, jak zaimplementować nieogólne IEnumerable, na przykład: using System; using System.Collections; namespace ConsoleApplication33 { class Program { static void Main(string[] args) { MyObjects myObjects = new MyObjects(); myObjects[0] = new MyObject() { Foo = "Hello", Bar = 1 }; myObjects[1] = new MyObject() { Foo = "World", Bar = 2 …