Tipic Instant Messaging Platform - Programmer's Reference Guide

LinkedList Methods

The methods of the LinkedList class are listed below. For a complete list of LinkedList class members, see the LinkedList Members topic.

Public Static (Shared) Methods

ReadOnly Return a read-only linked list from the given enumeration. This doesn't seem all that useful to me. An array might be a better choice.

Public Instance Methods

Add Insert an element at the end of the list
Clear Remove all of the elements.
Contains Is the given object in the list?
CopyTo Copy this list to the given array.
Dequeue Remove and return the element at the front of the list
Enqueue Insert an element at the end of the list
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Iterate over the list.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Where is the given object?
InsertOverloaded. Insert an item into the list at the given index
Peek Retrieve the element at the front of the list, without removing it.
Pop Retrieve and remove the element at the front of the list.
Push Add an element to the front of the list.
Remove Finds the first matching object, and removes it from the list.
RemoveAt Remove the index'th element from the list
ToString Comma-separated list of element.ToString()'s.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

LinkedList Class | bedrock.collections Namespace