📌  相关文章
📜  c# 获取不带文件名的路径 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:04.660000             🧑  作者: Mango

代码示例2
var fn = openFileDialogSapTable.FileName;
var currentPath = Path.GetFullPath( fn );
currentPath = Directory.GetParent(currentPath).FullName;