+2

Dealing with Arrays in C#

Hi guys what's the advantage of using 2D Jaggered arrays over 2D rectangular arrays?.

4/10/2017 8:43:35 AM

Lehlohonolo

1 Answer

New Answer

+2

In a jaggered array the subarrays can all be of different size. In a multidimensional array this is not possible. There aren't any subarrays. Besides of that I can't think about any other advantages. But I would always use multidimensional arrays over jagged arrays, if I didnt need one due to the above statement.