Debug.WriteLine(Path.Combine("test1", @"\test2"));
Will give the result:
\test2
Debug.WriteLine(Path.Join("test1", @"\test2"));
Gives the result:
test1\test2
Debug.WriteLine(Path.Combine("test1", @"\test2"));
Will give the result:
\test2
Debug.WriteLine(Path.Join("test1", @"\test2"));
Gives the result:
test1\test2