How to bypass value may be "null" here? - C#