check null type

Code Example - check null type

                
                        int? b = 10;
if (b.HasValue)
{
    Console.WriteLine(%%%~COMPRESS~PRE~0~%%%quot;b is {b.Value}");
}
else
{
    Console.WriteLine("b does not have a value");
}