Traverse an enumerable tree, depth or breadth first.

var dirs = new DirectoryInfo("C:\\")
.Traverse(TraverseKind.BreadthFirst, dir => dir.EnumerateDirectories());

There is a newer version of this package available.
See the version list below for details.
Install-Package netfx-System.Collections.Generic.IEnumerable.Traverse -Version
dotnet add package netfx-System.Collections.Generic.IEnumerable.Traverse --version
<PackageReference Include="netfx-System.Collections.Generic.IEnumerable.Traverse" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add netfx-System.Collections.Generic.IEnumerable.Traverse --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 7,205 8/30/2011 847 6/15/2011 624 5/20/2011 738 3/20/2011 713 3/20/2011 762 3/20/2011 756 3/20/2011 725 3/20/2011