目錄結構 father |—— subfolder1 |—— subfolder2 當前在 subfolder1, 通過相對路徑的方式獲取 subfolder2的路徑 ...
目錄結構
father
|—— subfolder1
|—— subfolder2
當前在 subfolder1, 通過相對路徑的方式獲取 subfolder2的路徑
1 string path = Path.GetFullPath(Path.Combine("subfolder1",@"../subfolder2/"));