public void RemoveRange(int index, int count) { if (count == 0) { return; } var copy = new T[count]; BaseList.CopyTo(index, copy, 0, count); WriteData( () => BaseList.RemoveRange(index, count), () => BaseList.InsertRange(index, copy)); OnSizeChanged(EventArgs.Empty); }
public void CopyTo(T[] array, int arrayIndex) { BaseList.CopyTo(array, arrayIndex); }