title: getting input from a user to fill a list in C#
body: <p>Ok guys, im just starting C# and trying to transition from the basic side of C++.
  I'm working on a lesson(not for a grade, it is a learning assignment), and I have everything set up except for getting the user input. I am trying to use a list instead of an array but I can't figure out how to get it to let the user enter the prices.</p>
  
  <p>This is a project for a simple register. The user has to enter the price. And here will be less than 100 items. </p>
  
  <p><strong>This is what I have so far:</strong></p>
  
  <pre><code> static void Main()
   { 
        double i;
  
        Console.Writeline("Enter Item Prices\n");
        List&lt;double&gt; items = new List&lt;double&gt;[i];
        Console.ReadLine(items);
        Console.WriteLine("{0}: ", i, items[i]);
        for (double i = 0; i &lt; 100; i++)
        {
             items.Add(i);
        }
        return 0;
    }
  </code></pre>
  
  <p>I have all the calcs set up, just can't get the input needed for the prices. I know some things with <code>i</code> are wrong. Also, its the <code>WriteLine</code> and <code>ReadLine</code> taking the place of <code>cout</code> and <code>cin</code> that is messing me up I think. </p>
  
  <p>I just need to figure out how to get the prices and get them put into my formulas.</p>
  
  <p>I will give the best answer props for helping in my program comments. </p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>I need it to go back and check if the user want to continue or not</p>