Search results for query: *

  1. P

    Question Checking no two numbers are the same.

    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.
  2. P

    Question Checking no two numbers are the same.

    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...
  3. P

    Question Checking no two numbers are the same.

    The LINQ to XML sounds rather interesting thanks again!
  4. P

    Question Checking no two numbers are the same.

    I believe I finally got it thanks Matt :D
  5. P

    Question Checking no two numbers are the same.

    .ToArray() is putting it in nums? is this the same as something(5)?
  6. P

    Question Checking no two numbers are the same.

    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...
  7. P

    Question For Loop to search and determain how many their are.

    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...
  8. P

    Question For Loop to search and determain how many their are.

    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?
  9. P

    Question For Loop to search and determain how many their are.

    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...
Back
Top