在C#中将C:\ mydir\another\again\again\..\.. \转换为C:\ mydir的方法

Kei*_*las 0 c#

是否有一个C#函数来转换..\s在一个路径中,以便你可以得到最终的路径?

Nem*_*157 6

Path.GetFullPath 应该这样做.