Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void DeleteEmptyDirs(string)

Declaration

public static void DeleteEmptyDirs(
    string path
)

Summary

Deletes the specified directory only if it is empty, and then checks all parents to see if they have become empty too. If so, deletes them too. Does not throw any exceptions.