What is meant by Jagged Arrays in C#? And how do we can use them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is meant by Jagged Arrays in C#? And how do we can use them?

currently I have been learning C# in SoloLearn. just I studied about jagged arrays. but this concept is little different.we knew always arrays index position starts from 0. but it's not like that.could anyone explain this clearly?

8th Mar 2018, 2:10 PM
Thiru Arasu
Thiru Arasu - avatar
1 Answer
0
It simply means an array whose elements are other arrays of different sizes. Hence if you printed out the rows like a table, they would appear 'jagged' not uniform sizes.
8th Mar 2018, 3:19 PM
Kerrash
Kerrash - avatar