Discussion :: Arrays - C#
-
Which of the following are the correct ways to define an array of 2 rows and 3 columns?
-
int[ , ] a; a = new int[2, 3]{{7, 1, 3},{2, 9, 6}};
-
int[ , ] a; a = new int[2, 3]{};
-
int[ , ] a = {{7, 1, 3}, {2, 9,6 }};
-
int[ , ] a; a = new int[1, 2];
-
int[ , ] a; a = new int[1, 2]{{7, 1, 3}, {2, 9, 6}};
-
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment