En C# IEnumerator Temel Özellikleri Sırları
Error CS1579 foreach statement cannot operate on variables of type ‘Student’ because ‘Student’ does not contain a public instance or extension definition for ‘GetEnumerator’The following example shows an implementation of the IEnumerator interface for a collection class of custom objects. The custom object is an instance of the type Box