How to WriteAllLines in C# without CRLF
<p>I'm using C# and am trying to output a few lines to an ASCII file.  The issue I'm having is that my Linux host is seeing these files as:</p>

<pre><code>ASCII text, with CRLF line terminators
</code></pre>

<p>I need this file to be just:</p>

<pre><code>ASCII text
</code></pre>

<p>The CRLF is causing some issues and was hoping there was a way in C# to just create the file formatted in the way I wanted.</p>

<p>I'm basically using this code:</p>

<pre><code>string[] lines = { "Line1", "Line2" };
File.WriteAllLines(myOutputFile, lines, System.Text.Encoding.UTF8);
</code></pre>

<p>Is there an easy way to create the file without the CRLF line terminators?  I can probably take care of it on the Linux side, but would rather just create the file in the proper format from the beginning.</p>
