create random directory in c drive c# code example
Example: c# making a folder wpf
string path1 = @"C:\temp\";
string path2 = Path.Combine(path1, "temp1");
// Create directory temp1 if it doesn't exist
Directory.CreateDirectory(path2);
string path1 = @"C:\temp\";
string path2 = Path.Combine(path1, "temp1");
// Create directory temp1 if it doesn't exist
Directory.CreateDirectory(path2);