title: How can I manipulate the DOM from a string of HTML in C#?
body: <p>For the moment the best way that I have found to be able to manipulate DOM from a string that contain HTML is:</p>
  
  <pre><code>WebBrowser webControl = new WebBrowser();
  webControl.DocumentText = html;
  HtmlDocument doc = webControl.Document;
  </code></pre>
  
  <p>There are two problems:</p>
  
  <ol>
  <li>Requires the <code>WebBrowser</code> object! </li>
  <li>This can't be used with multiple threads; I need something that would work on different thread (other than the main thread).</li>
  </ol>
  
  <p>Any ideas?</p>