This question already has an answer here:
- Best way to randomize an array with .NET 17 answers
Hello so lately we got to make bingo as a task but I want to randomize the numbers but I have no clue of how to do it. Could someone help me out?
string[,] kaart1 = { { "B", "I", "N", "G", "O" }, { "3", "19", "45", "47", "62" }, { "11", "25", "34", "53", "70" }, { "15", "24", "40", "59", "68" }, { "13", "16", "39", "51", "72" } };
// Hier wordt bingokaart 2 aangemaakt.
string[,] kaart2 = { { "B", "I", "N", "G", "O" }, { "4", "18", "44", "46", "61" }, { "12", "24", "35", "54", "70" }, { "15", "24", "40", "59", "68" }, { "13", "16", "39", "51", "72" } };
Aucun commentaire:
Enregistrer un commentaire