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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -