I was looking at the declaration of List<T> and saw that it implements IList<T>, ICollection<T> and IEnumerable<T>(among others).
Then I went to look the definition of IList<T> and saw that it implements ICollection<T> and IEnumerable<T>.
What's the point of an interface implementing another interface if they work just as "contracts" and we write no real code at them?
Is this implementation cumulative? If it is, since IList<T> implements ICollection<T> and IEnumerable<T>, List<T> shouldn't implement only IList<T>?
Sorry if my question is confusing, I'm a litte bit puzzled right now.
IList<T>ever stops implementingICollection<T>List<T>didn't explicitly write the implementation statement.