.net2005中报错:“使用泛型类型System.Collections.Generic.Icomparer <T> 需要一个类型参数 ”
解决方法:using了System.Collections.Generic,造成class ListViewItemComparer : IComparer这一行中的IComparer被认为是System.Collections.Generic.Icomparer <T> ,所以要实现int Compare (T x,T y),或者把using中改为System.Collections
System.Collections.Generic:泛型
System.Collections :非泛型