阅读背景:

我什么时候应该使用IEnumerator在c#中循环?

来源:互联网 

I was wondering if there are any times where it's advantageous to use an IEnumerator over a foreach loop for iterating through a collection? For example, is there any time where it would be better to use either of the following code samples over the other?I was wondering if there are any times where it




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: