public static void Main()
Random willekeurig = new Random();
getal = new int[aantalgetallen];
for (int x = 0; x <= getal.GetUpperBound(0); x++)
getal[x] = willekeurig.Next(1, 7);
for (int y = 0; y <= getal.GetUpperBound(0); y++)
uitvoer += Convert.ToString(getal[y]) + Environment.NewLine;
Console.WriteLine(uitvoer);