摘要: 1、Count属性 (获得List中元素数目) 2、Add( ) 在List中添加一个对象的公有方法 3、AddRange( ) 公有方法,在List尾部添加实现了ICollection接口的多个元素 注意:List. AddRange(IEnumerable<T> collection) 在C#中 阅读全文
posted @ 2019-01-22 11:43 天涯浪子1955 阅读(556) 评论(0) 推荐(0) 编辑