title: How to convert to html from byte[] array?
body: <p>I am using a <code>NameValueCollection</code> to post to a website. The response array when converted to string contains "<code>\r\n</code>".  I need pure html so I can use the string to display the content on a page. Here is the code:</p>
  
  <pre><code> byte[] responseArray = myWebClient.UploadValues(SubmitURL, myNameValueCollection);
   string s = Encoding.ASCII.GetString(responseArray);
  </code></pre>
  
  <p>s contains something like this:</p>
  
  <pre><code>   \r\n    \r\n&lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"&gt;\r\n\r\n\r\n&lt;head&gt;\r\n&lt;title&gt;Transaction Code Search Results&lt;/title&gt;\r\n&lt;link href=\"searchreference.css\" rel=\"stylesheet\" type=\"text/css\" /&gt;\r\n\r\n&lt;/head&gt;\r\n\r\n&lt;body topmargin=\"10\" leftmargin=\"10\"&gt;\r\n&lt;table border=\"0\" width=\"100%\"&gt;\r\n  &lt;tr&gt;\r\n    &lt;td width=\"70\" rowspan=\"2\" align=\"left\"&gt;&lt;img src=\"images/WFLogo_62.gif\" alt=\"WF logo\" width=\"62\" height=\"62\" /&gt;&lt;/td&gt;\r\n    &lt;td height=\"40\"&gt;&amp;nbsp;&lt;/td&gt;\r\n    &lt;td rowspan=\"2\"&gt;&lt;form method=\"post\" action=\"trancodesearch3.asp\"&gt;\r\n      &lt;div align=\"right\"&gt;\r\n        &lt;input type=\"submit\" name=\"Search again\"\r\n      value=\"Search again\" /&gt;\r\n      &lt;/div&gt;\r\n    &lt;/form&gt;&lt;/td&gt;\r\n  &lt;/tr&gt;\r\n  &lt;tr&gt;\r\n    &lt;td valign=\"bottom\"&gt;&lt;h1&gt;Transaction Code Search Results&lt;/h1&gt;&lt;/td&gt;\r\n  &lt;/tr&gt;\r\n&lt;/table&gt;\r\n\r\n&lt;hr size=\"1\" class=\"redline\" /&gt;\r\n\r\n&lt;table width=\"100%\" border=\"0\" align=\"
  left\" cellpadding=\"6\"
  </code></pre>