Generate a random int in a given range

suggest change

Generate a random number between minValue and maxValue - 1.

Random rnd = new Random();
var randomBetween10And20 = rnd.Next(10, 20);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents