+ 1
How to add random numbers in c#?
I'm making a app and I need random numbers. I'll appreciate it if some helps me :)
2 Réponses
+ 1
Random r = new Random();
int randomNumber = r.Next(MinValue,MaxValue)
//Min and MaxValue are the minimum and maximum values the random number can get.
+ 1
thanks