| Find out the output for Conditional Operator as given below
Below is the 2 statement for using Conditional Operator and will also have the output available
class ProgramTest
{
static String testvar;
static DateTime testtime;
static void Main()
{
Console.WriteLine(testvar == null ? "testvar is null" : testvar);
Console.WriteLine(testtime == null ? "testtime is null" : testtime.ToString());
}
}
| | |