public void DeleteDirectory(string path, bool force) { if (!Directory.Exists(path)) return; if (force) RecursiveMakeNormal(path); Directory.Delete(path, force); }