Stack Methods
Collapse the table of content
Expand the table of content

Stack Methods

 

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodClear()

Removes all objects from the Stack.

System_CAPS_pubmethodClone()

Creates a shallow copy of the Stack.

System_CAPS_pubmethodContains(Object)

Determines whether an element is in the Stack.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the Stack to an existing one-dimensional Array, starting at the specified array index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an IEnumerator for the Stack.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodPeek()

Returns the object at the top of the Stack without removing it.

System_CAPS_pubmethodPop()

Removes and returns the object at the top of the Stack.

System_CAPS_pubmethodPush(Object)

Inserts an object at the top of the Stack.

System_CAPS_pubmethodSystem_CAPS_staticSynchronized(Stack)

Returns a synchronized (thread safe) wrapper for the Stack.

System_CAPS_pubmethodToArray()

Copies the Stack to a new array.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Return to top
Show:
© 2016 Microsoft