Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check file exists

if (File.Exists(@"D:myfile.txt")) {
   Console.WriteLine("The file exists.");
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #check #file #exists
ADD COMMENT
Topic
Name
9+4 =