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

 

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

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