I can not seem to receive used to using arrays in VB.Net. On the code snippet behind page I want to select a random number b/w 1 and 25. That's simple enough: Dim myVal As Int16 Randomize() myVal = Int((Rnd() * 25) + 1) Next, I want to make sure the same random number
does not come up again. What is the best way to do this I am thinking given bellow: 1. Use an array that holds the values of all earlier created random numbers. 2. Check in the array to view if a number has been created, if it has, either add or subtract
one from the current number. The difficulty is, I can not figure out the syntax. Id applaud if somebody could post a sample of (or link to) identical syntax. Also, if there is the best way to do this, pls let me know.