Nested generics - how?

Aug 30, 2012 at 10:15 PM

Say I want to create the following object:

List<List<string>>

I tried doing the following in JS:

var l = new System.Collections.Generic.List{System.Collections.Generic.List{System.String}}();

But that does not seem to work.

Does anyone have an idea on how to do this?

Sep 1, 2012 at 2:10 AM

Without being at an actual jint environment, this may be a jint limitation.  You may want to make a .NET function that does this for you and bind it to a JavaScript function using SetFunction().