Ne demek?
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 hamiş methods. This is a good explanation here: stackoverflow.com/a/155655/2146952If you really want to, you could loop through the IEnumerator, putting the items into a List, and return that, but I'm g