Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: SelectNodes to return empty HtmlNodeCollection if no matching node is found

$
0
0

I thought SelectNodes would be used in a LINQ fashion .... I was shocked when it returned null while I was trying to enumerate few elements ...

come on guys its 2012 and this is LINQ world now ... it should return an empty collection rather than null 


Viewing all articles
Browse latest Browse all 655

Trending Articles