title: Convert List<string> to byte array by lines using c#
body: <p>I want to convert a list of string to an array of byte to store it in a sql table, then download the file.</p>
  
  <p>In the code below, I just focus in the conversion part.</p>
  
  <pre><code>List&lt;string&gt; Items = new List&lt;string&gt;();
  Items.Add("1 - Test 1");
  Items.Add("2 - Test 2");
  Items.Add("3 - Test 3");
  
  byte[] dataAsBytes = Items.SelectMany(s =&gt; System.Text.Encoding.UTF8.GetBytes(s))
                            .ToArray();
  </code></pre>
  
  <p>Now, when I download that as a txt file the output is:</p>
  
  <p><code>1 - Test12 - Test 23 - Test 3</code></p>
  
  <p>How can I change my code in order to get each line of the <code>List&lt;string&gt;</code> in the downloaded file as the output below:</p>
  
  <pre><code>1 - Test 1
  2 - Test 2
  3 - Test 3
  </code></pre>