5 Temel Unsurları için C# IEnumerator Nasıl kullanılır
technically C# does not allow functions to be outside of a class, however you could debate that static methods of a static class are functions and derece methods. This is a good explanation here: stackoverflow.com/a/155655/2146952
Looks good. The tamamen function just returns an IEnumerator - but