mercredi 27 juillet 2016

Random numbers, iterations until none repeats

Doing things with the random generator I've found that with seed (0), and using Random.Next(0,3) every 8 times the function is called all the numbers { 0, 1, 2, 3 } will appear. Is this coincidence? Or is it a thing that's supposed to happen?




Aucun commentaire:

Enregistrer un commentaire