Skip to main content

All Questions

Filter by
Sorted by
Tagged with
6 votes
3 answers
475 views

What would be a good approach to generate a tree of folders?

Say I have an array of strings, like this: var folders = new[] { "Foo", "Bar", "Foo\Bar" "Foo\Bar\Baz" }; And that I have an object that represents a folder - something like this: ...
Mathieu Guindon's user avatar