public void Set(string key, string value, string comment = null) {
IniItem item = null;
if(Contains(key)) {
item = (IniItem)configList[key];
item.Value = value;
item.Comment = comment;
}
else {
item = new IniItem(key, value, IniType.Key, comment);
configList.Add(key, item);
}
}