title: Invalid argument in StreamWriter constructor?
body: <p>In C# 3.0, framework, vs. 3.0 (assembly mscorlib.dll, v2.0.50727)
  <code>System.IO.StreamWriter</code> has a.o. the following constructors:</p>
  
  <pre><code>public StreamWriter(Stream stream, Encoding encoding);
  public StreamWriter(string path, bool append, Encoding encoding);
  </code></pre>
  
  <p>So the code          </p>
  
  <pre><code>Encoding enc = System.Text.Encoding.GetEncoding("iso-8859-1");
  writer = new StreamWriter(filename, enc);
  writer = new StreamWriter(filename, false, enc);
  </code></pre>
  
  <p>gives the <em>compilation</em> error "The best overloaded method match ... has some invalid arguments" ... 
  "cannot convert from 'System.Text.Encoding' to 'bool'" on the second line.</p>
  
  <p>Sorry, not a question, rather a mistake.</p>