With a Jagged array, every row can have different sizes.
int[][] jagged = new int[3][];
jagged[0] = new int[2] {5,10};
jagged[1] = new int[5] {2,4,6,8,10};
jagged[2] = new int[3] {9,10,14};
Guys, any comment?
2D array each row can have different size?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jun 3, 2013, 10:55 AM EDT
With a rectangular array, you have to create a single dimensional array and copy elements to it for the row you're interested in.
Hemant SrivastavaRank #581 · 4.2K reputationPosted Jun 4, 2013, 1:32 PM EDT
They are faster because they use the "newarr", vector IL calls internally.