Book I’ learning from claims that intArray
has two dimensions. But since calling intArray.GetLength(1)
will result in an IndexoutOfRange
exception, couldn’t we claim that unlike rectangular arrays, intArray
isn’t really multidimensional and thus has only one dimension?
int[][] intArray=new int[3][];
thank you
EDIT: BTW - I understand the difference between rectangular and jagged arrays