int[][] jaggedarray = new int[3][];
jaggedarray[0] = new int[] { 1, 2, 3 };
jaggedarray[1] = new int[] { 1, 2,3,4,5};
jaggedarray[2] = new int[] { 1,};
int max = 0;
for (int i = 0; i < jaggedarray.Length; i++)
{
if (jaggedarray[i].Length > max)
max = jaggedarray[i].Length;
}
where
max
is the solution you want.
Please
vote and
Accept Answer if it Helped.