← Back to Question List
C# Code Walkthrough #49
Null-Coalescing and Its Assignment
📄 Code
Read carefully — what does this print?1int? a = null;2int b = a ?? 10;3a ??= 20;4Console.WriteLine($"{b} {a}");