title: Change Text File Encoding
body: <p>How do you change a text files encoding through code?  I am using this code to actually create the file itself, but how can I change the encoding (change to UTF-8 w/o BOM)</p>
  
  <pre><code>string path = @"E:\Test\Example.txt";
  if (!File.Exists(path))
  {
      File.Create(path);
  }
  </code></pre>