BoundsCheckableList1.Remove

BoundsCheckableList<T>.Remove method

Removes the first occurrence of a specific object from the System.Collections.Generic.List.

public bool Remove(T item)
ParameterTypeDescription
itemTThe object to remove from the System.Collections.Generic.List. The value can be null for reference types.

Return Value

true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the System.Collections.Generic.List.

See Also