I found myself digging into System.Collections.Generic when using a BindingList. I don't understand something about the following interface implementations:
public interface ICollection<T> : IEnumerable<T>, IEnumerable
public interface ISet<T> : ICollection<T>, IEnumerable<T>, IEnumerable
Why does
ISet<T>
Implement
IEnumerable<T>, IEnumerable
when ICollection already does? Wouldn't the following be acceptable?
public interface ICollection<T> : IEnumerable<T>, IEnumerable
public interface ISet<T> : ICollection<T>
Any help understanding this is much appreciated. Thanks!