目录结构
father
|—— subfolder1
|—— subfolder2
当前在 subfolder1, 通过相对路径的方式获取 subfolder2的路径
string path = Path.GetFullPath(Path.Combine("subfolder1",@"../subfolder2/"));
2022-10-03 09:29:34
目录结构
father
|—— subfolder1
|—— subfolder2
当前在 subfolder1, 通过相对路径的方式获取 subfolder2的路径
string path = Path.GetFullPath(Path.Combine("subfolder1",@"../subfolder2/"));
下一篇:HTML5 ③