static void GetAppPath()
{
string path = System.Reflection.Assembly.GetExecutingAssembly().Location;
Console.WriteLine(System.IO.Path.GetDirectoryName(path));
}4 如何获得控制台应用程序的路径,布布扣,bubuko.com
原文:http://blog.csdn.net/u011685627/article/details/31852353