Answers for "list folders in directory c#"

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 "list folders in directory c#"

C# Answers by Framework

Browse Popular Code Answers by Language