using System; //例如 AppDomain.CurrentDomain.BaseDirectory + "\\Setting.ini"; 转载于:https://www.cnblogs.com/z45281625/p/10523211.html