Answers for "check if file exists on c:c#"

C#
20

c# check file exists

if (File.Exists(@"D:\myfile.txt")) {
   Console.WriteLine("The file exists.");
}
Posted by: Guest on February-03-2020

C# Answers by Framework

Browse Popular Code Answers by Language