I want to do the following:
1)Create an array of 100 lists
So, I have:
- List<int>[] a = new List<int>[100];
- for(j=0; j<100;j++)
- {
- a[j] = new List<int>();
- }
- a[j].Add(3);
- //and so on
I do not know how to do that
Please note that I cannot create a single list due to some algorithmic constarints.
Can anyone advise?
Tapan PatelPosted Jul 28, 2016, 4:42 PM
Rajeesh MenothPosted Jul 28, 2016, 1:32 PM