I have this stuation. I would like to create 12 subdirectories from the root, 30 subdirectories from each subdirectory at index 1 and 24 subdirectories from each subdirectory at index 2. I know that:
DirectoryInfo di = Directory.CreateDirectory(@"c:\Users\Public\Root");
creates one subdirectory everytime. How to do that in one shot? (just for example the first 30).
It's hard to tell what you actually want, however this might point you in the right direction.
Declare your directories:
Method
Usage
Output