NullReferenceException ERROR in foreach loop using HTMLNode

Question

How do I catch the NullReferenceException Error in the foreach loop below if 'SelectNodes' returns NULL?

I searched on stackoverflow and found mention of the null-coalescing condition (?? condition) that can be used to catch this error, however, I have no idea on what the syntax would be for HTMLNode, or if that's even possible.