+ 1
Random Number method
What methods that will take the random number beetween int a and b
1 Answer
+ 1
Random random = new Random(); int randomNumber = random.Next(a,b);
if b are 10, that means 10 are not included, you should use b+1 if you really want 10 are included into random.