Dynamic jagged array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Dynamic jagged array

is there another type of data structure similar to jagged Array that datas can be added at the end of it dynamically?

27th Jun 2018, 12:03 PM
Alireza Senobari
Alireza Senobari - avatar
2 Answers
27th Jun 2018, 1:17 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
yes, you can use a list of lists: var l = new List<List<int>>();
27th Jun 2018, 8:16 PM
hinanawi
hinanawi - avatar