Also, keep in mind that the first number you provide to Random.Next is inclusive, but the second one is not; so if you want a random number between 1 and 3, you should generate it like this:
vb.net Code:
myRandom.Next(1, 4)
|
Results 1 to 7 of 7
Thread: [RESOLVED] Random NumberThreaded View
|
Click Here to Expand Forum to Full Width |