title: using HtmlAgilityPack for parsing a web page information in C#
body: <p>I'm trying to use HtmlAgilityPack for parsing a web page information. This is my code:</p>
  
  <pre><code>using System;
  using HtmlAgilityPack;
  
  namespace htmparsing
  {
      class MainClass
      {
          public static void Main (string[] args)
          {
              string url = "https://bugs.eclipse.org";
              HtmlWeb web = new HtmlWeb();
              HtmlDocument doc = web.Load(url);
              foreach(HtmlNode node in doc){
                  //do something here with "node"
              }               
          }
      }
  }
  </code></pre>
  
  <p>But when I tried to access to <code>doc.DocumentElement.SelectNodes</code> I can not see <code>DocumentElement</code> in the list. I added the HtmlAgilityPack.dll in the references, but I don't know what's the problem. </p>