How to exclude folders when using Directory.GetDirectories
I want to return a list of all the subdirectories in the ‘SomeFolder’ directory excluding the ‘Admin’ and ‘Templates’ directories.
I want to return a list of all the subdirectories in the ‘SomeFolder’ directory excluding the ‘Admin’ and ‘Templates’ directories.