jjzjj

SortableCollection

全部标签

c# - 如何就地对 Collection<T> 进行排序?

我有一个通用集合:publicItems:Collection{protectedoverridevoidInsertItem(intindex,Objectitem){base.InsertItem(index,item);...}protectedoverridevoidRemoveItem(intindex){base.RemoveItem(index);...}protectedoverridevoidSetItem(intindex,Objectitem){base.SetItem(index,item);...}protectedoverridevoidClearItems