title: How to create a random number from array
body: <p>I'm doing a C# coding. In my coding, I need to generate a random list of numbers. Normally, if we create a random, we need to select the range of the number. However for my case, I need to create a random number from an array. Any idea? I am using XAML and C#.</p>
  
  <pre><code>private void Submit_Click(object sender, RoutedEventArgs e)
      {         
          int[] numbers = new int[5] {32, 67, 88, 13, 50};
          Random rd = new Random();
          //int myNo = rd.Next(numbers[])?                    
      }
  </code></pre>
  
  <p><strong>EXTRA</strong>: Each time i click the submit button, a random number of <em>numbers[]</em> will selected. How can i make sure the number is not repeated. For example: 1st click, myNo = 67; 2nd click, myNo = 50; 3rd click, myNo = 88; 4th click, myNo = 32; 5th click, myNo = 13. Thanks!</p>