System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>.ToArray Method

Copies the key and value pairs stored in the System.Collections.Concurrent.ConcurrentDictionary`2 to a new array.

Syntax

public KeyValuePair<TKey, TValue>[] ToArray ()

Returns

A new array containing a snapshot of key and value pairs copied from the System.Collections.Concurrent.ConcurrentDictionary`2.

Remarks

Documentation for this section has not yet been entered.

Requirements

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