c#能不能像vb.net那样动态定义数组?该如何处理
c#能不能像vb.net那样动态定义数组?
c#能不能像vb.net那样动态定义数组?
------解决方案--------------------
ArrayList或者List <T>
------解决方案--------------------
1.
数组? 不能
2.
动态列表,考虑
System.Collections.ArrayList
// 2.0 推荐泛型版本
System.Collections.Generic.List <T>
c#能不能像vb.net那样动态定义数组?
------解决方案--------------------
ArrayList或者List <T>
------解决方案--------------------
1.
数组? 不能
2.
动态列表,考虑
System.Collections.ArrayList
// 2.0 推荐泛型版本
System.Collections.Generic.List <T>