title: File.OpenWrite appends instead of wiping contents?
body: <p>I was using the following to write to a file:</p>
  
  <pre><code>using(Stream FileStream = File.OpenWrite(FileName)) 
     FileStream.Write(Contents, 0, Contents.Length);
  </code></pre>
  
  <p>I noticed that it was simply writing to file file correctly, but didn't wipe the contents of the file first. I then decided to simply use:</p>
  
  <pre><code>File.WriteAllBytes(FileName, Contents);
  </code></pre>
  
  <p>This worked fine.</p>
  
  <p>However, why doesn't File.OpenWrite automatically delete the contents of the file as the other languages i've used do for their OpenWrite style function, and have a instead of appending? </p>
  
  <p>Is there any method to do this?</p>