Given the following directory:
string fullpath = "C:\MyDir1\MyDir2\MyDir3";
I would like to return "MyDir3" - this being the directory name (not full path, of a directory) , I know I can do this using string manipulation, but is there an easy (built in way) to achieve this using framework classes?
Thanks