title: Does .NET have built-in functions mapping between character entities and their unicode values?
body: <pre><code>&amp; Eacute ;  \u00C9
  &amp; egrave ;  \u00E8
  &amp; eacute ;  \u00E9
  &amp; apos   ;  \u0027
  </code></pre>
  
  <p>something like:</p>
  
  <pre><code>f("&amp;apos;") = '\u0027' where f :: string -&gt; char
  g('\u0027') = "&amp;apos;" where g :: char -&gt; string
  </code></pre>
  
  <p>Or is there a third-party library with a BSD or MIT style permissive free license with something of this sort? Otherwise I'll have to create my own mapping but it's quite urgent and I don't want to miss out on available functionality.</p>