Attempts to recursively delete the directory at the specified path, returning true
if successful.
public static bool TryDelete(string path)
parameter | description |
---|---|
path | The path. |
true
if the directory was successfully deleted, otherwise false
.