コード例 #1
0
        private int CalculateSmallStraight()
        {
            if (DiceRolls.Distinct().Count() == 5 && !DiceRolls.Contains(Dice.One))
            {
                return(20);
            }

            return(0);
        }