C# IEnumerator Kullanımı Seçenekler
Bir değkonukende tutup null olup olmadığını yoklama buyurmak tabii ki bir erkân. Fakat bana çok katkısızlıklı gelmeyen bir yapı bu.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, and the collection class is BoxCollectio