C# 获得文件的执行路径的方法

 

   var path = System.Reflection.Assembly.GetEntryAssembly().Location;

posted @ 2021-06-28 11:11  MaxBruce  阅读(113)  评论(0)    收藏  举报