public void EnsureSectionExists(string sectionName) { var lineNumber = 0; if (!TrySeekSection(sectionName, ref lineNumber)) { Lines.Add(sectionNamePrefix + sectionName + sectionNameSuffix); } }