Method DeleteIfExists
DeleteIfExists(string)
Deletes the specified file if it exists.
public static void DeleteIfExists(string pathToFile)
Parameters
pathToFile
stringPath to file.
Deletes the specified file if it exists.
public static void DeleteIfExists(string pathToFile)
pathToFile
stringPath to file.