Examveda

What is the correct syntax to declare a multidimensional array in C#?

A. int[2,2] matrix;

B. int[,] matrix;

C. int[2][2] matrix;

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on Arrays and Strings in C Sharp