ConcurrentStack<T>.Push Method (T)

.NET Framework (current version)

Inserts an object at the top of the ConcurrentStack<T>.

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

public void Push(
	T item


Type: T

The object to push onto the ConcurrentStack<T>. The value can be a null reference (Nothing in Visual Basic) for reference types.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top