Vidyalelo
C# Programming · Q1

Arrays and Strings in C Sharp

Programming · C# Programming · question 1

Q1

What is the correct way to declare a string array in C#?

A.
string[] colors;
Answer
B.
array colors;
C.
string colors[];
D.
colors[] = string;

Answer: Option A

Solution

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