我只想在C#中获得一个2维数组的List。在我的想法中,下面应该有效,但它没有,List的1维数组工作。我使用Unity3D与Mono,但我认为这是与语言相关的问题。C#中List的二维数组?
List<MyType>[,] twoDArrayofList;//don't work, it's type is List<MyType>
List<MyType>[] oneDArrayofList;//it's works, the type is List<MyType>
任何人都知道什么是错的?谢谢。
请参考:http://stackoverflow.com/questions/665299/are-2-dimensional-lists-possible-in-c – Marshal 2012-04-08 07:52:50
谢谢,元帅,我会检查它 – 2012-04-08 07:57:45
@Marshal我已经检查过这个问题,这是不同的问题,无论如何感谢您的快速反馈 – 2012-04-08 08:11:50