Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string curFile = @"c:\temp\test.txt";
- Console.WriteLine(File.Exists(curFile) ? "File exists." :
- "File does not exist.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement