Question
Select output of the given set of Code :
static void Main(string[] args){ String name = "Dr.Gupta"; Console.WriteLine("Good Morning" + name);}
static void Main(string[] args){ String name = "Dr.Gupta"; Console.WriteLine("Good Morning" + name);}
Answer: Option C
Was this answer helpful ?
How to intialize a string variable and concatenate string using '+' operator. Output:Good Morning Dr.Gupta.
Was this answer helpful ?
Submit Solution