Null handling in linq

shape