array和arraylist之间的主要区别是什么? [英] what is the main diff between array and arraylist?

查看:101
本文介绍了array和arraylist之间的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

array和arraylist之间的主要区别是什么?c

what is the main diff between array and arraylist?c

推荐答案

1)ArrayLists属于System.Collections命名空间,Array属于System命名空间
2)ArrayList包含异构集合,Array包含同类集合
3)ArrayList的容量可以增加,Array的容量不能增加
1)ArrayLists comes under System.Collections namespace,Array comes under System namespace
2)ArrayList contains heterogeneous collection,Array contains Homogeneous collection
3)ArrayList capacity can be increased,Array capacity can''t be increased


在这里您可以:
Here you go: Difference between Array and ArrayList in C[^]


这篇关于array和arraylist之间的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆