dean
04/11/2017, 4:24 AMarr
, and because we know the width and height are fixed to 2 and 4, we can make it a 1D array of length 8.miha-x64
04/11/2017, 7:49 AMint[][] crap = { {1, 2}, {3, 4, 5}, null };
dean
04/21/2017, 7:40 AMArray2D<String>(2, 4)
which is stored internally as a single array of length 8, but from the outside is accessed as arr2d[1, 3] //for last element
dean
04/21/2017, 7:42 AMmiha-x64
04/21/2017, 7:45 AM