Languages
[Edit]
EN

C# / .NET - list all directories from directory

0 points
Created by:
Roseanne-Read
1365

In this article, we would like to show you how to list all directories from directory in C# / .NET.

1. Get files and directories from directory example

Edit

Output:

2. Get recursively directories from directory example

Edit

Output:

References

Edit
  1. Directory.GetDirectories Method - Microsoft Docs

Alternative titles

  1. C# / .NET - list all folders from directory
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join