楼上都是在哪复制的 ?
很简单的一个问题 是动态数组 几位大哥!
ArrayList al=new ArrayList()//创建
al.Add("1")//添加
al.Add("2")//.
foreach(string s in al)//遍历数组
Console.write(s) //输出 1 2
回答完毕 接分
继续你的问题
比如说 string []s=new string {1,2,3,4,5};
for(int i=0;i<s.count;i++)
{
al.add(s[i]);
}
//al就是动态数组
温馨提示:答案为网友推荐,仅供参考