1
Reply

What is a Jagged Array in C#?

Vipul Malhotra

Vipul Malhotra

Jun 13, 2016
283
0

    A Jagged array is an array of arrays. We can declare it in the below manner:string[][] sJaggedArray = new string[3][];sJaggedArray[0] = new string[]{"One","Two","Three","Four"};sJaggedArray[1] = new string[] { "One", "Two", "Three" };sJaggedArray[2] = new string[] { "One", "Two" };Each element of the array is another array in itself.Hope it helped

    Vipul Malhotra
    June 13, 2016
    0