static void Main(string[] args) { DiceRoller roller = new DiceRoller(); Die[] myDie = new Die[20]; for (int i = 0; i < 20; i++) { Random randomSides = new Random(); myDie[i] = new Die(randomSides.Next(1, 6)); roller.AddDie(myDie[i]); } roller.RollAllDice(); List <int> rollingresults = roller.GetRollingResults(); foreach (int value in rollingresults) { Console.WriteLine(value); } Console.ReadLine(); }