public static DeleteFile ( string filePath ) : void | ||
filePath | string | |
return | void |
public static void DeleteFile(string filePath)
{
if (File.Exists(filePath))
{
File.Delete(filePath);
}
}