C#读写INI文件
rite(section, key, null, filePath); }在程序根目录创建一个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("