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();
}
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