Creating a Random number
<p>Is it possible to create a random number from a selection of numbers in c#. </p>

<p>For example I have an array of numbers from 1-90 and once a number has been called a propery of that number changes. I therefore only want to generate the numbers where that property has not changed. 
This will therefore only randomly call the numbers between 1 and 90 one. </p>

<p>I have done this using a loop but just wanted a quiker and cleaner method if possible. </p>

<p>My current code is:</p>

<pre><code>    public object GenerateNumber()
    {
        bool alreadyCalled = false;
        while (!alreadyCalled)
        {
           Random randomNumber = new Random(System.DateTime.Now.Millisecond);
            int RandomNumberCalled = randomNumber.Next(1, 91);             


            if (Numbers.ToList().Find(x =&gt; x.Number == RandomNumberCalled).IsCalled != null)
            {    

             // change number to is called and do other things. 

            }
        }
        return false;
    }
</code></pre>
