Question : c# check file exists
Answered by : clear-crocodile
if (File.Exists(@"D:\myfile.txt")) { Console.WriteLine("The file exists.");
}
Source : https://www.tutorialspoint.com/check-if-a-file-exists-in-chash | Last Update : Mon, 10 Feb 20
Question : How to find out if a file exists in C# / .NET?
Answered by : bulbul-ahmed
File.Exists(path)
Source : https://stackoverflow.com/questions/38960/how-to-find-out-if-a-file-exists-in-c-sharp-net | Last Update : Fri, 06 Aug 21