winform 也是有 ArrayList 的 - -
在 System.Collections 包中
新建窗体默认是不引入 System.Collections 的 ,所以要自己引入下才能使用
开始不知道 以为只有Array,Array在System包,所以可以直接 声明,但是他必须先定义大小,导致我做了很多麻烦的工作。。。。
还是ArrayList方便啊。。。泪目。。
以后果断 先引入System.Collections
winform 也是有 ArrayList 的 - -
在 System.Collections 包中
新建窗体默认是不引入 System.Collections 的 ,所以要自己引入下才能使用
开始不知道 以为只有Array,Array在System包,所以可以直接 声明,但是他必须先定义大小,导致我做了很多麻烦的工作。。。。
还是ArrayList方便啊。。。泪目。。
以后果断 先引入System.Collections