title: How to split() a delimited string to a List<String>
body: <p>I had this code:</p>
  
  <pre><code>    String[] lineElements;       
      . . .
      try
      {
          using (StreamReader sr = new StreamReader("TestFile.txt"))
          {
              String line;
              while ((line = sr.ReadLine()) != null)
              {
                  lineElements = line.Split(',');
                  . . .
  </code></pre>
  
  <p>but then thought I should maybe go with a List instead. But this code:</p>
  
  <pre><code>    List&lt;String&gt; listStrLineElements;
      . . .
      try
      {
          using (StreamReader sr = new StreamReader("TestFile.txt"))
          {
              String line;
              while ((line = sr.ReadLine()) != null)
              {
                  listStrLineElements = line.Split(',');
  . . .
  </code></pre>
  
  <p>...gives me, "<em>Cannot implicitly convert type 'string[]' to 'System.Collections.Generic.List'</em>"</p>