public static string GetDirectoryName(string path) { Argument.IsNotNullOrWhitespace("path", path); return GetParentDirectory(path); }