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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -