public double Rating() { if (Players.Count == 0) { return(0); } return(Math.Round(Players.Average(a => a.Skill))); }
public int Rating() { int rating = 0; if (Players.Count > 0) { rating = (int)Math.Round(Players.Average(p => p.Statistics.Summary)); } return(rating); }