Thursday, May 11, 2017

One of the ternary operators provided in C# is:

        ?:

What will be the output of the following Main program in a C# console application (Assume required namespaces are included):
static void Main(string[] args)
{
          int @int = 15;
          Console.WriteLine(@int);
          Console.ReadLine();
}
Output: 15