Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 309 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 309 Bytes

Simple example

Setting setting = new Setting()
{
    IP = "127.0.0.1",
    Port = 88
};
string ini_str = IniConvert.SerializeObject(setting);
/*
[Setting]
IP=127.0.0.1
Port=88
*/
var deserialize = IniConvert.DeserializeObject<Setting>(ini_str);

More