草庐IT

MyPrimaryList

全部标签

List<String[]> 的 C# "funny"问题

我的C#应用程序中的List有一些奇怪的问题。这一定是分配错误或者我做错了什么(我是普通的C#开发人员)。让我举一个接近我的台词的例子:ListMyPrimaryList=newList();ListMySecondaryList=newList();String[]array;StringarrayList="one,two,three,four,five";array=arrayList.Split(',');MyPrimaryList.Add(array);MySecondaryList.Add(array);MyPrimaryList[0][0]+="half";所以现在我希望