开发者

Count folder inside the folder

开发者 https://www.devze.com 2023-04-09 09:27 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消