Example 1:
var ca = p.GetCustomAttribute();
return ca?.Point.IsEqual(cp) ?? false;
Example 2:
var ca
To answer you question (null != ca)
is equal to ca?
as ?
(this gives more readability and shorter version) it operator just check the value is null or not , Not sure but compiler underthe hood doing same thing , you can check using reflector.
Just to not both will give you same result and performs also be same , it just compiler of C# which under the hood replace ?
with null check.