How do I get the full path for a given file?
e.g. I provide:
string filename = @\"test.txt\";
Result should be:
Full Fi
You Can use:
string path = Path.GetFullPath(FileName);
it will return the Full path of that mentioned file.