int a = b ?? -1;
The above code explains, a = b, unless b is null, in which case a = -1.
is ame as
if(a != null)
a = b;
else
a = -1;
Available in C# 8.0 and later, the Null Coalescing Operator (??) is a binary operator that simplifies checking for null values. When you work with nullable value types and need to provide a value of an underlying value type, you can use the ?? operator to specify the value to provide in case a nullable type value is null. You are allowed to use ?? operator with value types and reference types.
It's very handy because you can use any number of these in sequence.
string Answer = Option1 ?? Option2 ?? Option3