Create a gist now

Instantly share code, notes, and snippets.

StackOverflow Electorate Badge award
private bool AwardElectorateBadge(User user)
{
const int MinimumRequiredQuestionVotes = 600;
return user.Votes.Questions >= MinimumRequiredQuestionVotes &&
user.Votes.Total <= user.Votes.Questions * 4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment