title: C# HTMLAgilityPack Select not contains
body: <p>My program is a simple c# console application, I am unsure of howto achieve my goal, basically I am selecting a single node but I would like to ignore an  tag with a particular text value, my code is below.</p>
  
  <pre><code>string name = item.SelectSingleNode("//select[contains(@id,'var')]//option")
                    .GetInnerTextFromNode();
  </code></pre>
  
  <p>I know in jQuery you could use :not filter, but not sure in C# and I have search for documentation for the pack, but nothing has surfaced.</p>
  
  <p>Thank you</p>