Açıklaması C# IEnumerator Temel Özellikleri Hakkında 5 Basit Tablolar
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@Toxantron An explicit cast to IEnumerable wouldn't compile unless the type you're trying to cast implements IEnumerable