Basically, all I was trying to do was generate a few numbers that where then stored. Then I could search that array for groups of numbers that are the same. If yes then how many was right.
I've just got a quick question I've been playing with LINQ but how would you do one globally such as this.
Dim nums = Enumerable.Range(1, 100) _
.OrderBy(Function() rnd.Next) _
.Take(5) _
.ToArray()
So that nums could later be...
Hello, what the following code is ment to do is generate a bunch of numbers between 1 and 49 using the while loop to check if two of these numbers are the same. Problem is two numbers are still being generated the same and I know that the numbers generated again will not match them originals so...
Ok, that's not exactly what I'm trying to learn I'm trying to learn how to use a loop within an array. I'm doing this by having a textbox which you enter the numbers like "1 2 3 4 5 6" then you press a button which searches the arraylist for a match.
I know I'm very close to understanding this...
How would I go about checking exactly what's in the array? As I might have to change the way I add to the array because a textbox contains the past draws and might cause errors and I would like to check with these past draws as well. Would it be possible to give an example of this?
Hello, I've just started getting into programming and I'm following a few tasks that have been set to learn and understand VB.NET. What i'm working on is a lottery program i've done all the number generation with an array. Now i'm trying to find out how to search that array for lets say less...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.