Files.FileExists Method (string)

Checks whether a file exists or not.

Syntax

Files.FileExists(string path)

Parameters

path
System.String Path of the file.

Returns

System.Boolean Whether the file exists or not.