<分区> 分区>
Possible Duplicate:
Can anyone explain IEnumerable and IEnumerator to me?
What is the difference between IEnumerator and IEnumerable?
我们可以实现 IEnumerator 或其通用版本,从而直接使用它。
那么为什么我们需要 IEnumerable?我们需要 IEnumerable 提供一组新数据还是其他东西!
<分区> 分区>
Possible Duplicate:
Can anyone explain IEnumerable and IEnumerator to me?
What is the difference between IEnumerator and IEnumerable?
我们可以实现 IEnumerator 或其通用版本,从而直接使用它。
那么为什么我们需要 IEnumerable?我们需要 IEnumerable 提供一组新数据还是其他东西!