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