如何在c#中的数组列表中打印数组的单个单元格

我有一个数组列表:

List<int[]> a = new List<int[]>();

我把它放在几个数组中

int[] b = new int[3] {1,2,3};
int[] c = new int[4] {4,5,6,7};
a.Add(b);
a.Add(c);

我怎么只能打印b[1]中的List a

kuohao3026 回答:如何在c#中的数组列表中打印数组的单个单元格

您可以通过书写访问它

Console.WriteLine(a[0][1]);
本文链接:https://www.f2er.com/3151914.html

大家都在问