public void WriteBool() { using (IniFile ini = new IniFile(fileName)) { Assert.IsFalse(ini.ReadBool("Section1", "doesnotexist", false)); ini.WriteBool("Section1", "doesnotexist", true); Assert.IsTrue(ini.ReadBool("Section1", "doesnotexist", false)); } }