axnst2
asked on
System.Collections.Generic.List<> Array
Hi Experts,
Is it possible to have an array of System.Collections.Generic .List<> ? If so, how do you declare it?
Here is my list:
public static List<myStructure> myList = new List<myStructure>();
I tried this:
public static List<myStructure> [] myList = new List<myStructure>() [2];
The compiler didn't like that much!
Thanks,
axnst2
Is it possible to have an array of System.Collections.Generic
Here is my list:
public static List<myStructure> myList = new List<myStructure>();
I tried this:
public static List<myStructure> [] myList = new List<myStructure>() [2];
The compiler didn't like that much!
Thanks,
axnst2
What's the compiler error?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a bunch, that was it!