< Back
Page 5 of 5
Like this article? We recommend
Summary
For more information, Bill Wagner has a great article on MSDN on predicates, iterators, and generics worth checking out.
For our part, just remember that yield effectively creates a dynamic iterator on the fly, and it is very good—very tasty syntactic sugar.
< Back
Page 5 of 5