Vidyalelo
C# Programming · Q48

Miscellaneous in C Sharp

Programming · C# Programming · question 48

Q48

What will be the output of the following C# code snippet? class Program static void Main(string[] args) String s1 = "one"; String s2 = string.Concat(s1 + " " + "two"); Console.WriteLine(s2); Console.ReadLine();

A.
one
B.
two
C.
one two
Answer
D.
two one

Answer: Option C

Solution

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