find filename from full path string c#
Resolving relative paths in C#. Say you have a string with a file name with a relative path, such as â..\..\somedir\somefile.txtâ, and you want to resolve the full path to the file given a certain reference point in the file system, how would you go about to solve that.