It works fine for multidimensiona l arrays but not for jagged arrays.
i.e. it works fine for string[,] but not string[][]
I do apologise for the title reading multidimensiona l arrays. I only realised my mistake afterwards.
Anyways you answer put me on the road to my solution. Thanks
User Profile
Collapse
-
List of lists to multidimension array
I need to convert
List<List<MyCla ss>> tracks = new List<List<MyCla ss>>(nCount);
to a jagged array.
something like...
MyClass[][] foo = tracks.ToArray( );Last edited by e930194; Feb 23 '10, 07:08 AM. Reason: Should be jagged array and not multidimensional array
No activity results to display
Show More
Leave a comment: