c#如何保存对配置文件的修改

  

  关键是要创建System.Configuration.Configuration对象,这个对象没保存()方法   //创建   System.Configuration。配置配置=ConfigurationManager.OpenExeConfiguration (ConfigurationUserLevel.None);,//修改配置文件的内容   ,,config.AppSettings.Settings [“path"]。值=https://www.yisu.com/zixun/this.txtPath.Text;   config.ConnectionStrings.ConnectionStrings["大兴渗压计"]。ConnectionString=txtGKPZ.Text;//保存修改   config.Save ();   

c#如何保存对配置文件的修改