c# - Why IList<T> inherits IEnumerable<T> and IEnumerable again -


i have taken on ilist<t> , icollection<t> on msdn chance, , see definition of these 2 interfaces are:

public interface icollection<t> : ienumerable<t>, ienumerable public interface ilist<t> : icollection<t>, ienumerable<t>, ienumerable 

notice icollection<t> inherits ienumerable<t> , ienumerable, that's okay. ilist<t> inherits icollection<t>, why ilist<t> has inherit ienumerable<t> , ienumerable again?

any there reason this?

the documentation generated way can see interfaces type implements without having follow transitive links through interface inheritance hierarchy.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -