Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# count directories in directory and subdirectories

var countDirectories = System.IO.Directory.GetDirectories(sourcePath, "*", SearchOption.AllDirectories).Count();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #directories #directory #subdirectories
ADD COMMENT
Topic
Name
5+8 =