System.Collections.Concurrent.ConcurrentBag<T>.ToArray Method

Copies the System.Collections.Concurrent.ConcurrentBag`1 elements to a new array.

Syntax

public T[] ToArray ()

Returns

A new array containing a snapshot of elements copied from the System.Collections.Concurrent.ConcurrentBag`1.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Collections.Concurrent
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0