Esempio n. 1
0
        private double GetAssistPerRound()
        {
            double total = Rounds.Aggregate <Round, double>(0, (current, round) => current + round.Kills.Count(k => k.AssisterSteamId != 0));

            total = Math.Round(total / Rounds.Count, 2);
            if (Math.Abs(total) < 0.1)
            {
                return(total);
            }
            return(total);
        }
Esempio n. 2
0
        private double GetKillPerRound()
        {
            double total = Rounds.Aggregate <Round, double>(0, (current, round) => current + round.KillCount);

            total = Math.Round(total / Rounds.Count, 2);
            if (Math.Abs(total) < 0.1)
            {
                return(total);
            }
            return(total);
        }