How do I get a parent of a directory, for example:
string upDir = GetOneLvlUp(@\"C:\\AAA\\BBB\\CCC\\DDD\\\"); Output: C:\\AAA\\BBB\\CCC\\
var upDir = new DirectoryInfo(yourPath).Parent.FullName;