如果你去定义List<T>你会看到以下内容:
List<T>
public class List<T> : IList<T>, ICollection<T>, IEnumerable<T>
IList<T>已经从两个继承ICollection<T>和IEnumerable<T>.
IList<T>
ICollection<T>
IEnumerable<T>
如果List<T>只实施,那还不够IList<T>吗?
c#
c# ×1