How can I instantiate a IList of nested IList?

I am trying to create a list of lists but am having trouble instantiating the list.

IList<IList<T>> allLists = List<List<T>>();

I am getting a compile error with this line.

7
задан John Saunders 13 September 2010 в 16:51
поделиться