How to delete all files and folders in a directory?
Deletes a specified directory, and optionally any subdirectories.
Has a 2nd overload that accepts a 2nd parameter that specifies whether to recursively delete the contents.
Deletes an empty directory from a specified path.
Deletes the specified directory and, if indicated, any subdirectories and files in the directory.