Count folder inside the folder

后端 未结 2 1069
灰色年华
灰色年华 2021-01-23 21:15

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

相关标签:
2条回答
  • 2021-01-23 21:46

    Refer to the Recursive File and Directory Method to all the list of folders including Count of sub folders in a folder.

    0 讨论(0)
  • 2021-01-23 21:50

    Use System.IO.DirectoryInfo() class and its methods.

    0 讨论(0)
提交回复
热议问题