C#获得应用程序当前路径

string softPath = (Directory.GetParent(this.GetType().Assembly.Location).ToString()) + "\\";

原文地址:https://www.cnblogs.com/jielite/p/2310783.html