ConcurrentStack<T> ConcurrentStack<T> ConcurrentStack<T> ConcurrentStack<T> Constructors

Definition

Overloads

ConcurrentStack<T>() ConcurrentStack<T>() ConcurrentStack<T>()

Initializes a new instance of the ConcurrentStack<T> class.

ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>)

Initializes a new instance of the ConcurrentStack<T> class that contains elements copied from the specified collection

ConcurrentStack<T>() ConcurrentStack<T>() ConcurrentStack<T>()

Initializes a new instance of the ConcurrentStack<T> class.

public:
 ConcurrentStack();
public ConcurrentStack ();
Public Sub New ()
See also

ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>) ConcurrentStack<T>(IEnumerable<T>)

Initializes a new instance of the ConcurrentStack<T> class that contains elements copied from the specified collection

public:
 ConcurrentStack(System::Collections::Generic::IEnumerable<T> ^ collection);
public ConcurrentStack (System.Collections.Generic.IEnumerable<T> collection);
new System.Collections.Concurrent.ConcurrentStack<'T> : seq<'T> -> System.Collections.Concurrent.ConcurrentStack<'T>
Public Sub New (collection As IEnumerable(Of T))

Parameters

collection
IEnumerable<T> IEnumerable<T> IEnumerable<T> IEnumerable<T>

The collection whose elements are copied to the new ConcurrentStack<T>.

Exceptions

See also

Applies to