Sorry to ask this again, I have already seen this.
I am using the following code to create multiple directories from a single full path, but it isn't doing anything. My compiler enters the conditions and runs the command, but doesn't create directory. I don't know what is wrong.
if (!Directory.Exists(@"~/Documents/2/images/"))
{
Directory.CreateDirectory(@"~/Documents/2/images/");
}