标题:[求助]一个小问题!急!请解答之
取消只看楼主
qingxi
Rank: 1
等 级:新手上路
帖 子:31
专家分:0
注 册:2006-2-16
 问题点数:0 回复次数:0 
[求助]一个小问题!急!请解答之

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数组中,可怎么不能放呢?

求解

搜索更多相关主题的帖子: 解答 
2006-04-16 16:34



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-57875-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.191268 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved