title: .Net Method for converting String to HTML Escape Characters
body: <p>I want to convert an e-mail address into HTML Escape Characters as a basic way to try and avoid being harvested by spam-bots. Like mentioned in <a href="https://stackoverflow.com/questions/163628/making-email-addresses-safe-from-bots-on-a-webpage">this question</a>: </p>
  
  <blockquote>
    <p>When placing email addresses on a
    webpage do you place them as text like
    this:</p>
  
  <pre><code>joe.somebody@company.com
  </code></pre>
    
    <p>or use a clever trick to try and fool
    the email address harvester bots? For
    example:</p>
    
    <p><strong>HTML Escape Characters:</strong></p>
  
  <pre><code>&amp;#106;&amp;#111;&amp;#101;&amp;#46;&amp;#115;&amp;#111;&amp;#109;&amp;#101;&amp;#98;&amp;#111;&amp;#100;&amp;#121;&amp;#64;&amp;#99;&amp;#111;&amp;#109;&amp;#112;&amp;#97;&amp;#110;&amp;#121;&amp;#46;&amp;#99;&amp;#111;&amp;#109;
  </code></pre>
  </blockquote>
  
  <p>I cannot find a .Net method to do so though. The Html.Encode only does the invalid HTML characters such as £$%^&amp; and not letters. </p>
  
  <p>Does a method exist or do I need to write my own?</p>
  
  <p>Many Thanks</p>