0
Reply

Generics and Windows Forms components

registerme

registerme

Apr 15 2006 3:51 PM
1.7k

I just noticed that some components which have inside of them a data structure from collections namespace (such as say ListView has an IComparer ListViewSorter to sort the different objects in List in whatever way you please - just pass your own implementation of an IComparer) use the data structure from System.Collections instead of System.Collections.Generics. Wouldn't it make more sense for ListView to have an IComparer<T> ListViewSorter instead? Anyone know why this is the way it is?