/// <summary> /// Deletes a section from the INI file /// </summary> /// <param name="Section">Section to remove</param> /// <returns>True if it is removed, false otherwise</returns> public virtual bool DeleteFromINI(string Section) { bool ReturnValue = false; if (FileContents.ContainsKey(Section)) { ReturnValue = FileContents.Remove(Section); WriteFile(); } return(ReturnValue); }