C# IEnumerator nerelerde kullanılıyor Ile ilgili detaylı notlar
technically C# does hamiş 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@Toxantron An explicit cast to IEnumerable wouldn't compile unless the type you're trying to cast implements IEnumera