public static DeleteFolder ( String path ) : void | ||
path | String | the file path to delete |
return | void |
public static void DeleteFolder(String path)
{
try
{
Directory.Delete(path, true);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message + " >" + ex.StackTrace);
}
}