Examveda

What will be the output of the following C# code?
static void Main(string[] args)
{
    String c = "Hello";
    String a = c + "Bye";
    Console.WriteLine(a);
    Console.ReadLine();
}

A. "Hello Bye"

B. "HelloBye"

C. Hello Bye

D. HelloBye

Answer: Option D


Join The Discussion

Related Questions on Arrays and Strings in C Sharp