本帖最后由 郑丹丹1990 于 2013-5-17 07:42 编辑
- ArrayList employees = new ArrayList();
- employees.Insert(0, "zdd");
- employees.Insert(1, "zzb");
- employees.Insert(2, "zxl");
- int count = employees.Count;
- int nums = employees.Capacity;
- Console.WriteLine(count + " " + nums);
- Console.ReadKey();
复制代码 结果3 4???
主要是nums |