[求助]一个小问题!急!请解答之
Sin[] newlist = new Sin[5];
Sin order1 = new Sin();
int[] _a ={ 100, 200, 300, 400, 500 };
string[] _b ={ "aaa", "vvv", "c", "ddd", "sd" };
string [] _c={"已收","未收","已收","未收","未收"};
for (int i = 0; i < 5; i++)
{
order1.b = _b[i];
order1.a = _a[i];
order1.c = _c[i];
newlist[i] = order1;
}
想把5个order1中的内容放在newlist数组中,可怎么不能放呢?
求解