Question: Which are correct rectangular array declaration in C#?
A
B
C
D
in[,] matrix=new int[3,3];
B
var matrix=new int[,]{
{0,1,2},
{3,4,5},
{6,7,8}
};
C
int [][] matrix=new int[3][];
D
int[,] matrix={
{0,1,2},
{3,4,5},
{6,7,8}
};
Note: Not available