.net获取程序根目录

获取程序的根目录:

 var path = HttpRuntime.AppDomainAppPath;
原文地址:https://www.cnblogs.com/Angel-szl/p/9765100.html