using System;
public class Program
{
public static void Main()
int ? ticketforsale=10;
int nooftickets;
if(ticketforsale==null)
nooftickets=0;
Console.WriteLine("nooftickets {0}",nooftickets);
}
else
nooftickets=ticketforsale.Value;