C# Null fall-through and chaining

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public static void Main()
	{
		int? a = null;
        int b = 3;
        var output = a ?? b;
		var type = output.GetType();
		
		Console.WriteLine($"Type :{type}");
		Console.WriteLine($"value :{output}");
		
	}
}
;