为了账号安全,请及时绑定邮箱和手机立即绑定

获取应用程序文件夹路径的最佳方法

获取应用程序文件夹路径的最佳方法

呼如林 2019-06-23 16:07:12
JavaScript的“WITH”语句有合法的用法吗?我看到了一些获取应用程序文件夹路径的方法:Application.StartupPathSystem.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().Location)AppDomain.CurrentDomain.BaseDirectorySystem.IO.Directory.GetCurrentDirectory()Environment.CurrentDirectorySystem.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)System.IO.Path.GetDirectory(Application.ExecutablePath)根据具体情况,最好的方法是什么?
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 797 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号