Vidyalelo
C# Programming · Q109

Arrays and Strings in C Sharp

Programming · C# Programming · question 109

Q109

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board