Için basit anahtar C# IEnumerator neden kullanmalıyız örtüsünü
technically C# does derece allow functions to be outside of a class, however you could debate that static methods of a static class are functions and not methods. This is a good explanation here: stackoverflow.com/a/155655/2146952The following example shows an implementation of the IEnumerator interface for a collection class of custom objects. The