check folder path exists 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!
}