If i have:
C:\\temp\\foo\\bar\\
(NOTE: bar is a directory)
how can i parse out:
bar
In Unix this is known as the basename, a quick google came up with this link for a C# version. I'm sure there are others ...