The IEnumerable function will generally begin with a "Return Iterator" block, which is a special case of VB's new anonymous, multi-line function syntax.
IEnumerabl的函数将通常以一个“ReturnIterator”代码块开始,它是VB新匿名函数、多行函数语法的一种特例。
The second block, which uses an Iterator instead, should perform faster than the first.
第二个代码块使用的是 Iterator,应该比第一块执行得快一些。
This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).
该清单展示了内部迭代器(也称为push迭代器,因为它将每个元素依次推到代码块中)。
应用推荐