Vidyalelo
C# Programming · Q134

Miscellaneous in C Sharp

Programming · C# Programming · question 134

Q134

What will be the output of the following C# code snippet? class Program static void Main(string[] args) char []chars = 'a', 'b', 'c'; String s = new String(chars); Console.WriteLine(s); Console.ReadLine();

A.
a
B.
b
C.
c
D.
abc
Answer

Answer: Option D

Solution

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