What is directory creation and deletion?
CreateDirectory(String) Creates all directories and
subdirectories in the specified path.
CreateDirectory(String, DirectorySecurity) Creates all the
directories in the specified path, applying the specified Windows
security.
Delete(String) Deletes an empty directory from a specified
path.
Delete(String, Boolean) Deletes the specified directory and, if
indicated, any subdirectories and files in the directory. public
static DirectoryInfo CreateDirectory ( string path )
public static void Delete ( string path, bool recursive )