EN IYI TARAFı C# IENUMERATOR NEDEN KULLANMALıYıZ

En iyi Tarafı C# IEnumerator neden kullanmalıyız

It would be perfectly legal to compile the above to IL without emitting any additional classes and simply reusing existing classesThe 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 BoxCollection. This code

read more