Hi guys,
I have a quick question on how random numbers work, if i say
Will this return number 1 or 2, or will it always return 1, because i am using this in a project and want either 1 or 2 returned, but everytime i seem to run the application, it always uses 1?Code:Dim randN as New Random Dim num as integer = 0 num = randN.Next(1, 2)
Thanks in advance for any help
![]()




Reply With Quote