title: .NET File.WriteAllLines leaves empty line at the end of file
body: <p>When I'm saving content of the String[] array with System.IO.File.WriteAllLines, at the end of a file is always left a blank line. For example:</p>
  
  <pre><code>System.IO.File.WriteAllLines(Application.dataPath + "/test.txt",["a", "b", "c"]);
  </code></pre>
  
  <p>Produces file (without underscore):</p>
  
  <pre><code>a
  b
  c
  _
  </code></pre>
  
  <p>There was already such topic: <a href="https://stackoverflow.com/questions/8893361/empty-line-in-net-file-writealllines-is-a-bug">Empty line in .Net File.WriteAllLines, is a bug?</a> , but autor said that "I think there are something wrong with my data,that's my problem but not the WritAllLines" and it was closed as "too localized" (?!?).</p>
  
  <p>It's a bug? How can I easily get rid of it (for now I'm just ignoring it when reading file again)?</p>