Q24
What is the result of the expression string[] names = "John", "Alice", "Bob"; in C#?
A.
A compilation error
B.
Declares an array with three elements
AnswerC.
Initializes an empty array
D.
Initializes an array with three elements
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board