Answers for "c# get all folder names in directory"

C#
1

list all files in directory and subdirectories c#

string[] entries = Directory.GetFileSystemEntries(path, "*", SearchOption.AllDirectories);
Posted by: Guest on July-24-2020
0

get folders in directory c#

string[] folders = System.IO.Directory.GetDirectories(@"C:\My Sample Path\","*", System.IO.SearchOption.AllDirectories);
Posted by: Guest on October-30-2020

Code answers related to "c# get all folder names in directory"

C# Answers by Framework

Browse Popular Code Answers by Language