On 05/20/2010 03:22 PM, Steven Schveighoffer wrote:
One thing I just thought of -- in dcollections, similar types can be compared to one another. For example, you can check to see if a HashSet is equal to a TreeSet. But that would not be possible without interfaces.-Steve
I'm sorry, but I think that's a misfeature. In my opinion, a tree is not equal to a hash table, ever.
You could compare the content separately, but that wouldn't require interfaces.