Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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