Click here to Skip to main content
11,566,149 members (56,569 online)
Click here to Skip to main content
Add your own
alternative version

Apply "yield return" recursively - iterating tree data structures

, 21 Feb 2008 CPOL 29.9K 117 26
A generic function that enables "deep-iterating" the leafs of arbitrary tree data structures simply using foreach.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Mr.PoorEnglish
Germany Germany
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150624.2 | Last Updated 21 Feb 2008
Article Copyright 2008 by Mr.PoorEnglish
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid