A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays".
NOTE:- I'm using Single dimensional jagged array. Actually I am using single and multi dimensional arrays as a element of single dimensional jagged array. You can use "foreach" to print jagged arrays.
Paste PrintSingleDimentionalJaggedArray() and PrintMultiDimJaggedArray() methods in main method. You can download the example JaggedArray.zip file which is given below...
Edited 6 Years Ago by ashishkumar008: n/a