public DeleteFolder ( string path ) : void | ||
path | string | Path to the folder to delete |
return | void |
public virtual void DeleteFolder(string path)
{
if(Directory.Exists(path))
Directory.Delete(path, true);
}