title: converting a textbox into Dictionary
body: <p>I'm trying to convert a textbox entry into a Dictionary of double, double.  i.e.</p>
  
  <p>Input text is:</p>
  
  <blockquote>
    <p>1,63<br>
    2,31<br>
    3,78<br>
    4,83  </p>
  </blockquote>
  
  <p>I'm then splitting the row by a comma (,).</p>
  
  <p>I've got the code below - but the IEnumerable isnt working. Any help would be much appreciated!!</p>
  
  <pre><code> string input = txtInput.Text;
      List&lt;string&gt; list = new List&lt;string&gt;(
                                 input.Split(new string[] { "\r\n" },
                                 StringSplitOptions.RemoveEmptyEntries));
  
      IEnumerable&lt;Dictionary&lt;double, double&gt;&gt; dict = list.Select(row =&gt; row.Split(','))
      .Select(pair =&gt; new Dictionary&lt;string, string&gt;(double.Parse(pair[0]), double.Parse(pair[1])));
  </code></pre>