[,]和[] []之间的区别[重复]

In cSharp, a 2D array is written as int[,] myArray = new int[,]

However, it has come to my attention that int[][] my Array = new int[][] is also OK.

我想知道2是否有任何不同或相同。

评论