摘要:        
在做项目过程中,有时需要保存一些简单的配置信息,可以使用xml,也可以使用INI文件。下面是C#中读取INI的方法,相信大部分朋友都使用过这种方式。 INI文件的存储方式如下,[csharp] view plaincopyprint?[section] key=value key=value [section]key=valuekey=value读取写入方法,[csharp] view plaincopyprint?[DllImport("kernel32")] privatestaticexternlong WritePrivateProfileString(string    阅读全文
        
            posted @ 2013-01-14 11:08
playman0211
阅读(560)
评论(0)
推荐(0)
        
    
                    
                

浙公网安备 33010602011771号