C#读写INI文件
文件:string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "sys.ini");//在当前程序路径创建File.Create(filePath);//创建INI文件写入内容://写入节点1 INIHelper.Write("s1", "1", "a", filePath); INIHelper.Write("s1", "2", "b", filePath); INIHelper.Write("s1", "3", "c", filePath); //写入节点2 INIHelper.Write("s2", "