.NET FrameworkFile Input/Output

Download .NET Framework for free

Parameters

ParameterDetails
string pathPath of the file to check. (relative or fully qualified)

Remarks

Returns true if the file exists, false otherwise.

Related Examples

C# File.Exists()