I'm new to C# and looking at arrays.
I'm wondering why the call to i.GetType()
results in a NullReferenceException
(Object reference not .....) ?
int[][] myJagArray = new int[5][];
foreach (int[] i in myJagArray) { Console.WriteLine(i.GetType()); }
Many thanks.