public INILine(INIEntryType entryType, string entryText, string entryComment) { entry = ""; key = ""; value = ""; comment = (entryComment != "" ? "\t\t" + INIComment + " " + entryComment : ""); switch (entryType) { case INIEntryType.Comment: comment = INIComment + " " + entryText + comment; break; case INIEntryType.Section: entry = "[" + entryText + "]"; setSection = entryText; break; case INIEntryType.Entry: entry = entryText; break; } section = curSection; modified = true; }