How do I get a parent of a directory, for example:
string upDir = GetOneLvlUp(@"C:AAABBBCCCDDD"); Output: C:AAABBBCCC
upDir = Directory.GetParent(path).FullName;
2.1m questions
2.1m answers
60 comments
57.0k users