arttuladhar
1/13/2012 - 4:53 PM

Guess the Output

Guess the Output

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication3
{
    class Program
    {
           
        static void Main(string[] args)
        {
            int a = 10;
            int? b = 20;
            int? c = null;
            System.Console.WriteLine(a + c ?? b);

            System.Console.ReadLine();
            
        }
    }
}