c# how to check if path exists 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!
}