how to check if a directory exist c# 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!
}