File InputOutput

suggest change

Parameters

Parameter Details
string path Path of the file to check (relative or fully qualified).

Remarks

File.Exists returns true if the file exists, and false otherwise. It also returns false for a directory, a path you cannot access, or an invalid path. It does not throw for those cases.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents