Hakkında C# IEnumerator nerelerde kullanılıyor
GetEnumerator metodu, bir sınıfa iterasyon örgülarını kazandıracak özellikleri çitndıran IEnumerator nesnesi dönen bir metotdur.@Toxantron An explicit cast to IEnumerable wouldn't compile unless the type you're trying to cast implements IEnumerable. When you say "but if that ever changes", yaşama you provide an example of what you mean?