Error!
Success!

Walking a tree with yield return and recursion

0
kicks

Walking a tree with yield return and recursion  (Unpublished)

Iterating through the items in a tree can be a chore, but thanks to the yield return statement, it is quite easy to build an IEnumerator for a tree-type data structure in .NET 2.0+.


Kicked By:
Drop Kicked By: