Hakkında C# IEnumerator nerelerde kullanılıyor
In the method above, the enumerator's Dispose() is derece explicitly called, and because they are derece used within a using or foreach statement, would the underlying iterator remain in an open state? In my case with an open SqlConnection.If you really want to, you could loop through the IEnumerator, putting the items into a List, and return that,