标签:路径
获取Console程序的路径和所在目录
string path = System.Reflection.Assembly.GetExecutingAssembly().Location;
string dir = System.IO.Path.GetDirectoryName(path);
C# 获取应用程序的路径
原文地址:http://13713878410.blog.51cto.com/9096807/1550382