I've beeb playing around a bit with files and stuff to learn some of the aspects of C#. In order to not make it too convenient and easy I opted for using a String to hold my path, and then use DirectoryInfo to use it.
In one of the windows in my app I list all the folders inside the current folder. If you double click one of them, you enter the directory etc etc. My problem is with the first entry, which I made "..". How can I manipulate the string to point to the previous directory? And how can I check if I'm at the root?
Any help would be appreciated!