Vidyalelo
C# Programming · Q137

Miscellaneous in C Sharp

Programming · C# Programming · question 137

Q137

What will be the output of the following C# code snippet? static void Main(string[] args) string s1 = "Hello" + "c" + "Sharp"; Console.WriteLine(s1); Console.ReadLine();

A.
Hello c Sharp
Answer
B.
HellocSharp
C.
Compile time error
D.
Hello

Answer: Option A

Solution

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