.Select(gp => gp.Key.ToString() + ":" + ParsingUtility.EncodeCandidates(gp.Select(a => a.Candidate))) .Join(" ");
public override string ToString() => CandidateScores .GroupBy(a => a.Score) .OrderByDescending(gp => gp.Key) .Select(gp => gp.Key.ToString() + ":" + ParsingUtility.EncodeCandidates(gp.Select(a => a.Candidate).OrderBy(x => x))) .Join(" ");
public override string ToString() => ParsingUtility.EncodeCandidates(CandidateScores.Select(a => a.Candidate));
.Select(gp => ParsingUtility.EncodeCandidates(gp.Select(a => a.Candidate))) .Join(" ");