0
kicks
Iterating a Complex DataList Hierarchy With Custom Iterators
This is a follow-up post to Iterating a Complex DataList Hierarchy With Lambda Expressions, which showed one way to avoid code duplication when iterating a complex control hierarchy. This shows how to achieve roughly the same thing by taking advantage of the yield keyword.