/// <summary> /// Add the total number of voters to the output. /// </summary> private void AddTotalVoters() { int voterCount = voteCounter.GetTotalVoterCount(); if (voterCount > 0) { if (displayMode == DisplayMode.Compact || displayMode == DisplayMode.CompactNoVoters) { sb.AppendLine(); } sb.Append("Total No. of Voters: "); sb.Append(voterCount); sb.AppendLine(); sb.AppendLine(); } }