public void SetKillMeans() { var group = Kills.GroupBy(kills => kills.MeansOfDeath); foreach (var kills in group) { KillsMeans.Add(new KillMeans(kills.Key, kills.Count())); } }