Can you help me how to count the folders inside the folder.
How can i count the sub folders after the FolderBrowserDialog is popup and choose that main folder consist of 3 folders.
I'm using
开发者_如何学CFolderBrowserDialog fbdialog = new FolderBrowswerDialog();
Use System.IO.DirectoryInfo()
class and its methods.
Refer to the Recursive File and Directory Method to all the list of folders including Count of sub folders in a folder.
精彩评论