Or embrace them by using the null object pattern.
var listofNullandNotNullObjects = getSomeThings();
foreach(var oneThing in listofNullandNotNullObjects) {
oneThing.doSomething(); // null objects would just return
}