C# IEnumerator nerelerde kullanılıyor Ile ilgili detaylı notlar
Error CS1579 foreach statement cannot operate on variables of type ‘Student’ because ‘Student’ does not contain a public instance or extension definition for ‘GetEnumerator’If you really want to, you could loop through the IEnumerator, putting the items into a List, and return that, but I'm guessing that's hamiş what you're looking to