LinkedList<T> class
Implements a doubly linked list.
public class LinkedList<T> : ICloneable, IList<T>
Public Members
| name | description |
|---|---|
| LinkedList() | The default constructor. |
| Count { get; } | Returns the number of items in the list. |
| Empty { get; } | Returns true if the list is empty. |
| Head { get; set; } | Retrieves the first item in the list. |
| IsReadOnly { get; } | Gets a value indicating whether the List is read-only. |
| Item { get; set; } | Gets or sets the element at the specified index. |
| Tail { get; set; } | Retrieves the last item in the list. |
| Add(…) | Adds a new value onto the end of the list. |
| Clear() | Removes all items from the list. |
| Clone() | Makes a deep copy of this List. |
| Contains(…) | Determines whether the List contains a specific value. |
| CopyTo(…) | Copies the List elements to a one-dimensional Array instance at the specified index. |
| GetEnumerator() | Returns a foward enumerator for this list. |
| IndexOf(…) | Determines the index of a specific item in the List. |
| Insert(…) | Adds a new value at the specified position. (2 methods) |
| Remove(…) | Removes the first occurance of the given value from the list. (2 methods) |
| RemoveAt(…) | Removes the node at the specified position from the list. (2 methods) |
See Also
- namespace TheCodingMonkey.Collections.Lists