c# check if folder exists and create code example
Example: c# check if a directory exists
string directory = @"C:\folder name";
if (Directory.Exists(directory)
{
// Directory exits!
}
string directory = @"C:\folder name";
if (Directory.Exists(directory)
{
// Directory exits!
}