R
rowe_newsgroups
How can I fill an array randomly so it contains a certian range of numbers
(1 - 100 for example) ? My Goal is to generate a set of numbers in random
order.
Dim rand As New Random(DateTime.Now.Millisecond)
Dim numbers(99) As Integer
For i As Integer = 0 To UBound(numbers)
numbers(i) = rand.Next(1, 100)
Next
By the way, you should try to find the answers for yourself before you
post a question. Try searching the archives at
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/topics?lnk=sg&hl=en
before you post, with a little searching you could probably figure out
what to do.
Thanks,
Seth Rowe