c# check file exists

50

c# check file exists -

if (File.Exists(@"D:\myfile.txt")) {
   Console.WriteLine("The file exists.");
}

Comments

Submit
0 Comments