Copies the elements contained in the System.Collections.Concurrent.IProducerConsumerCollection`1 to a new array.
![]()
A new array containing the elements copied from the System.Collections.Concurrent.IProducerConsumerCollection`1.
The method provides a snapshot of the underlying collection. It is possible for other threads to add or remove items immediately after the array is made.