private static FolderIsEmpty ( string path ) : bool | ||
path | string | |
return | bool |
private static bool FolderIsEmpty(string path)
{
return (!Directory.Exists(path) || ((Directory.GetDirectories(path).Length == 0) && (Directory.GetFiles(path).Length == 0)));
}