Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

how to check if file exists in c# .net?

Solved 1 Answers 44 Views Programming
0 1
I am creating program in c# .net with windowsForm. Can I get a program to check if file exists? I would like to display alert if file is removed.

1 Answer

Best answer
You can use"file\\path");
answered by (151 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.