IList<T>与ICollection<T>的区别

Ilist<T>继承自ICollection<T>, ICollection<T>继承自IEnumerable<T>;

IList比ICollection对几个方法,增加,移除成员;
可以简单理解为:ICollection主要针对静态集合,IList主要针对动态集合;
原文地址:https://www.cnblogs.com/wxh19860528/p/2569893.html