Multiple choice technology web technology

Which of these statements correctly declares a two-dimensional array in C#?

  1. int[,] myArray;

  2. int[][] myArray;

  3. int[2] myArray;

  4. System.Array[2] myArray;

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The comma syntax int[,] declares a rectangular two-dimensional array in C#. int[][] is a jagged array (array of arrays), int[2] is invalid syntax, and System.Array[2] is not valid array declaration syntax.