PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Remove­Items
Open sandboxFocus

Method RemoveItems

RemoveItems(Int32, Int32)

Removes the specified number of elements starting at the specified index of the underlying collection.

Declaration
protected virtual T[] RemoveItems(int index, int count)
Parameters
Type Name Description
Int32 index

The zero-based index of the element to remove.

Int32 count

The number of the elements to remove.

Returns
Type Description
T[]

The list of elements that were removed.