This project produces a .Net Standard Library or .Net 4.0 Library with Generic and IEnumerable/Yield (LevelOrder, PreOrder, PostOrder) tree traversal methods
to traverse k-ary trees in different orders via IEnumerable<T>/Yield<T>.
Explore trees and tree-like structures with LINQ using tree-traversal algorithms like breadth-first and depth-first search:
IEnumerable<DirectoryInfo> childDirectories = Traverse.DepthFirst(new DirectoryInfo(...), d => d.EnumerateDirectories());
IEnumerable<DirectoryInfo>...
More information