16 元素数量可变时不使用数组
数组长度不可变;
数组转换:
int[] iArr = { 1, 2, 3 }; ArrayList arrayListInt = ArrayList.Adapter(iArr); List<int> listInt = iArr.ToList<int>();
Stay hungry, stay foolish
数组长度不可变;
数组转换:
int[] iArr = { 1, 2, 3 }; ArrayList arrayListInt = ArrayList.Adapter(iArr); List<int> listInt = iArr.ToList<int>();