## ConcurrentDictionary::CopyTo method


Copies container elements to existing array elements.

```cpp
virtual void System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::CopyTo(ArrayPtr<System::Collections::Generic::KeyValuePair<TKey, TValue>> arr, int index) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | ArrayPtr\<System::Collections::Generic::KeyValuePair\<TKey, TValue\>\> | Destination array. |
| index | int | Index in destination array. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [KeyValuePair](../../../system.collections.generic/keyvaluepair/)
* Class [ConcurrentDictionary](../)
* Namespace [System::Collections::Concurrent](../../)
* Library [Aspose.PUB for C++](../../../)
