2009-10-08 62 views

回答

38

我覺得Path.DirectorySeparatorChar是你所需要的。你可以在System.IO命名空間中找到它。

+0

對不起,指向PathSeparator,我現在修復了。 – Geo 2009-10-08 21:01:10

11

要合併路徑中使用,並通過地理的建議,這個作品結合DirectorySeparatorChar

IO.Path.Combine("path", "file.ext"); 
相關問題