title: Read files and put content in an Array
body: <p>I'm trying to simply read the whole content of a file and put it in an Array (elements would be lines so array[2] would get the third line, etc).</p>
  
  <p>I tried:</p>
  
  <pre><code>originalFileContentArray = new string[] { fileReader.ReadToEnd() };
  </code></pre>
  
  <p>Which I believe is a good idea since everything I found about this was big loops to read the file line by line and push it into an array...</p>
  
  <p>The problem with my idea is that the lines does not get separated automatically so the array contains only ONE big element with the whole content in it.</p>
  
  <p>Any idea about how to correctly separate the content into multiple elements?</p>
  
  <p>Thanks!</p>