title: C# html agility pack get elements by class name
body: <p>I'm trying to get all the divs that their class contains a certain word:</p>
  
  <pre><code>&lt;div class="hello mike"&gt;content1&lt;/div&gt;
  &lt;div class="hello jeff&gt;content2&lt;/div&gt;
  &lt;div class="john"&gt;content3&lt;/div&gt;
  </code></pre>
  
  <p>I need to get all the divs that their class contains the word "hello".
  Something like this:</p>
  
  <pre><code>resultContent.DocumentNode.SelectNodes("//div[@class='hello']"))
  </code></pre>
  
  <p>how can i do it with agility pack?</p>