In C#, how can one determine if a subdirectory exists?
Is this neccesary when calling CreateSubDirectory
?
if(System.IO.Directory.GetDirectories(path).Length>0)
{
//if this condition is true-->> Directory has sub-sirectories
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With