modifying items in a concurrentbag + C#
<p>I am keeping a collection of objects in a concurrent bag. depending on the received input, I want to modify these objects. How can this be done? I cannot use trytake because it is removing the item. I am not sure if trypeek would iterate through the collection. OTOH, copying the items to an array would not work because then the objects are read only. Please help</p>
