摘要: C# 轻松获取路径中文件名、目录、扩展名等 string path = "C:\\dir1\\dir2\\foo.txt"; string str = "GetFullPath:" + Path.GetFullPath(path) + "\r\n"; str += "GetDirectoryName 阅读全文
posted @ 2017-08-22 17:35 HongEgg 阅读(233) 评论(0) 推荐(0) 编辑