Question:Which are correct rectangular array declaration in C#? 

A 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} }; 

+ Answer
+ Report
Total Preview: 1024

Copyright © 2024. Powered by Intellect Software Ltd