Vidyalelo
C# Programming · Q93

Arrays and Strings in C Sharp

Programming · C# Programming · question 93

Q93

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

A.
HelloILoveComputerScience
B.
Hello I Love ComputerScience
Answer
C.
Compile time error
D.
Hello

Answer: Option B

Solution

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