1

I have been using Directory.Delete(String, Boolean) from MSDN to remove main folder, its subfolders and its content.

Is there any faster way of deleting the main folder than the method above?

Thank you

hunterex
  • 565
  • 11
  • 27
  • 1
    [Ask Me](https://www.google.com/search?q=function+faster+than+directory.delete&spell=1&sa=X&ved=0ahUKEwjzks-wgObXAhWJuI8KHX69CbAQvwUIIygA&biw=1366&bih=637) – boop_the_snoot Nov 30 '17 at 09:40
  • Probably not, but you could compare by running the command: rmdir /s /q folder – Chrille Nov 30 '17 at 09:43

0 Answers0