c# - Is there something called array of list? -


i declared

list<double> close = new list<double>(); 

i pass list function xyz , function fill value. need run xyz function many times, there way create array of list can access third list element 7 typing listarray[2][6].

i think need this:

list<list<double>> list = new list<list<double>>();  var list1 = new list<double>(); list1.add(1); list1.add(2);  var list2 = new list<double>(); list2.add(3); list2.add(4);  list.add(list1); list.add(list2);  var element = list[1][1]; 

the value of element element of second list @ index of 1. in case, 4.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -