title: How to get the id's of html element of html document in c# using html agility pack?
body: <p>I have something like this</p>
  
  <pre><code>&lt;div class='mainclass subclass1' quest-id='123'&gt; &lt;/div&gt;
  &lt;div class='mainclass subclass2' quest-id='234'&gt; &lt;/div&gt;
  &lt;input quest-id='3236'&gt; &lt;/input&gt;
  &lt;textarea quest-id='256'&gt; &lt;/textarea&gt;
  </code></pre>
  
  <p>I want the <code>quest-d</code> of all div which belongs to class named <code>subclass1</code>, <code>subclass2</code> and <code>quest-id</code> of all input and textarea.  How can i do it using html agility pack in c#?</p>
  
  <p>and i have c# code like this:</p>
  
  <pre><code>HtmlDocument document = new HtmlDocument();
  document.LoadHtml(obj.NewPage.Content);
  
  HtmlNode htmlRootElement = document.DocumentNode.SelectSingleNode("/html");
  HtmlNode bodyElement = htmlRootElement.SelectSingleNode("body");
  </code></pre>
  
  <p>i dont know how to proceed</p>