How to use “Nullable Coalescing Operator” (??) in C#?
Ask by Sushant Mishra
Updated 23 Sep 2020
Nullable Coalescing Operator can be used with reference types and nullable value types. So if the first operand of the expression is null then the value of second operand is assigned to the variable. For example,