My question is this. As you could see in the title, my question is how the following block of code creates a random number, in this case, from 0 to 1000
Random rdn = new Random();
float num = rdn.Next(0,1000);
Could you explain what happen behind this, the whole meaning of that? Thanks!
Aucun commentaire:
Enregistrer un commentaire