c# check beginning of string in directory 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!
}