title: C# User Input Random numbers
body: <p>I need help writing a code that as the user to input 10 numbers between 50 and 150 without repeating the same numbers. This will be a looping program. Here's what I have so far:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace IP3_Program
  {
      class Program
      {
          static void Main()
          {
              int total = 0;
              string inValue;
              int [] number = new int[10];
              for (int i = 0; i &lt; number.Length; i++)
              {
                  Console.Write("Enter number{0}: ", i + 1);
                  inValue = Console.ReadLine();
                  number[i] = Convert.ToInt32(inValue);
              }              
          }
      }
  }
  </code></pre>