Why IList inherits IEnumerable and IEnumerable again

后端 未结 1 1931
面向向阳花
面向向阳花 2021-01-24 03:39

I have taken a look on IList and ICollection on MSDN by chance, and see that the definition of these two interfaces are:

public interface IColl         


        
相关标签:
1条回答
  • 2021-01-24 04:11

    The documentation is generated that way so you can see what interfaces a type implements without having to follow transitive links through the interface inheritance hierarchy.

    0 讨论(0)
提交回复
热议问题