I understand that any Collection (here I am talking about regular non-generic) should have implemented ICollection, IEnumerable and IList incase of regular object collection or IDictionary in case of Dictionaries.
[Still, the question I ask is not specific to collections]
IList is derived from ICollection and IEnumerable
ICollection is derived from IEnumerable
Is it not just enough to make a collection (E.g. ArrayList) implement IList?
In the Object browser it is displaying that collection classes (E.g. ArrayList) are implementing IList, ICollection, and IEnumerator.
I understand that even if we specify all three Collections, .Net is going to accept the definitions only once.
But my question is,
Is there any best practice or recommendation that guides us to specify all three interfaces for the collection class (Or any class similar to this)?
Or is it just the propery of Object Browser that displays it as 3 separate implementations? [Just checked and found that its not the property of Object browser. Object browser just displays the interfaces that are specified in the class definition]