Skip to main content
 首页 » 编程设计

c# 取当前运行程序目录的方法

2022年07月19日176rubylouvre

1、string strPath = AppDomain.CurrentDomain.BaseDirectory;

2、string filePath = Application.StartupPath;


本文参考链接:https://www.cnblogs.com/xihong2014/p/14857712.html