Answers for "c# list subfolders"

C#
0

c# list subfolders

DirectoryInfo directory = new DirectoryInfo(pathDownload);
DirectoryInfo[] directories = directory.GetDirectories();

foreach(DirectoryInfo folder in directories)
     listBox2.Items.Add(folder.Name);
Posted by: Guest on June-21-2021

Code answers related to "c# list subfolders"

C# Answers by Framework

Browse Popular Code Answers by Language