2009-10-29 51 views

回答

3

因为里面没有物品。尝试extreme_foods.Add(s)

1

如果我理解你的代码,你试图添加元素到ArrayList。我想你会想使用Add()方法。因此,像:

For Each s In split2 
    extreme_foods.Add(s) 
Next 

我假设split2是你创建别的地方在你的代码的集合。