ThreadSafeDictionaryTKey, TValueToArray Method

Copies the key and value pairs stored in the ThreadSafeDictionaryTKey, TValue to a new array.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public KeyValuePair<TKey, TValue>[] ToArray()

Return Value

KeyValuePairTKey, TValue
A new array containing a snapshot of key and value pairs copied from the ThreadSafeDictionaryTKey, TValue.

See Also