public int CompareTo(ConsolePlusTheme other) { int foreCompare = BackgroundColor.CompareTo(other.BackgroundColor); if (foreCompare != 0) { return(foreCompare); } return(ForegroundColor.CompareTo(other.ForegroundColor)); }