title: How to extract text inside a div tag using htmlagilitypack
body: <p>I want to extract the text "Some text goes here" between the div class.
  I am using html agility pack, and c#</p>
  
  <pre><code>&lt;div class="productDescriptionWrapper"&gt;
  Some Text Goes here...
  &lt;div class="emptyClear"&gt; &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>this is what I have : </p>
  
  <pre><code>Description = doc.DocumentNode.SelectNodes("//div[@class=\"productDescriptionWrapper\").Descendants("div").Select(x =&gt; x.InnerText).ToList();
  </code></pre>
  
  <p>I get this error :</p>
  
  <pre><code>An unhandled exception of type 'System.NullReferenceException' 
  </code></pre>
  
  <p>I know how to extract if the text is b/w a <code>&lt;h1&gt;</code> or <code>&lt;p&gt;</code> instead of "div" in Descendants i will have to give "h1" or "p".</p>
  
  <p>Somebody please assist.</p>