Examveda

What will be the output of the following C# code?
static void Main(string[] args)
{
    String name = "Dr.Gupta";
    Console.WriteLine("Good Morning" + name);
}

A. Dr.Gupta

B. Good Morning

C. Good Morning Dr.Gupta

D. Good Morning name

Answer: Option C


Join The Discussion

Related Questions on Basic Syntax and Data Types in C Sharp