I am trying to delete the folder containing the files (in my case png)
Directory.Delete("Pictures"); An exception is raised that reports that the folder is not empty and cannot be deleted. How can I get rid of this directory without having to delete all the files it contains?