C# 调用API函数实现读写INI文件类 CIni.cs
亲测,通过调用系统的API函数实现读写INI文件;内容简单,清晰,适合入门练习INI配置文件读写。 [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); [DllImport("kernel32")] private static extern int GetPrivateProfileString(string section,
下载地址
用户评论