This one shows how Null Conditional Operator works in C#:
“This example shows how much cleaner code becomes by using the null conditional operator. The more lengthy form is quite a bit more verbose. While this example used the ?. operator on each member access, that’s not required. You can freely mix the null conditional operator with normal member access. If the above assignment were used in a routine where p had already validated to be non-null, you could assign the spouse’s name as follows:”
var spouseName = p?.Spouse.FirstName;