C#--集合添加数据(ArrayList and list)

集合方法ArrayList:须要引用using system.collections; static void Main(string[] args) { // 添加内容 int[] nums = new int[] { 1, 2, 3, 4, 5 }; //随便的放,各类类型的数据,而且 不肯定放多少个;
相关文章
相关标签/搜索