title: Is there a standard literal constant that I can use instead of "utf-8" in C# (.Net 3.5)?
body: <p>I would like to find a better way to do this:</p>
  
  <pre><code>XmlNode nodeXML = xmlDoc.AppendChild(
      xmlDoc.CreateXmlDeclaration( "1.0", "utf-8", String.Empty) );
  </code></pre>
  
  <p>I do not want to think about "utf-8" vs "UTF-8" vs "UTF8" vs "utf8" as I type code. I would like to make my code less prone to typos. I am sure that some standard library has declatred <code>"utf-8"</code> as a const / readonly string. How can I find it? Also, what about "1.0"? I am assuming that major XML versions have been enumerated somewhere as well.</p>
  
  <p>Thanks!</p>