且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

实现在C#中的双向枚举

更新时间:2022-05-26 01:06:39

而不是直接从迭代器块,没有。

Not directly from the iterator block, no.

然而,主叫方总是可以缓冲的结果,例如成列表< T> ,或只需拨打反向( ) - 但这并不总是适用

However, the caller can always buffer the results, for example into a List<T>, or just call Reverse() - but this doesn't always apply.