最关键的区别在于,在声明List集合时,我们同时需要为其声明List集合内数据的对象类型。 List<int> list = new List<int>();. //新增数据. list.Add(123);.
確定! 回上一頁