I am using C# with HtmlAgilityPack and I can select divs that have an id of foo
var foos = from foo in htmlDoc.DocumentNode.Descendants("div")
where foo.Id == "foo"
select foo;
but how do I select div's with a class of bar?