为什么我会得到这个结果?
代码:
List<int> samba = new List<int>(new int[]
{1,2,0,0,0,0,3,2,1,
0,0,0,0,0,0,0,0,0,
});
foreach (int i in samba)
{
label1.Text += samba[i];
}
结果:
1201111002111111111