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