xxxxxxxxxx
int? a = null;
int b = a ?? -1; // Same as b = ( a != null ? a : -1 );
Console.WriteLine(b); // output: -1
//OR IF
int? a = 9;
int b = a ?? -1;
Console.WriteLine(b); // output: 9
xxxxxxxxxx
int? count = null; // Nullable integer
// Using the null-coalescing operator
int result = count ?? 0; // Assign 0 to result if count is null
Console.WriteLine(result); // Output: 0