AddToFront Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds an item to the beginning of the BigList. The indices of all existing items in the Deque are increased by one, and the new item has index zero.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public void AddToFront(
	T item
)
Visual Basic (Declaration)
Public Sub AddToFront ( _
	item As T _
)
Visual C++
public:
void AddToFront (
	T item
)

Parameters

item
T
The item to add.

Remarks

Adding an item takes, on average, constant time.

See Also