110,536
社区成员
发帖
与我相关
我的任务
分享
public class testList<T> : List<T> where T : bauser
{
public new void Add(T item)
{
base.Add(item);
item.RemoveEvent += item_RemoveEvent;
}
void item_RemoveEvent()
{
throw new NotImplementedException();
}
public new void Remove(T item)
{
base.Remove(item);
}
}