I have a Parallel.Foreach loop that gives me sadness, and would like one of you guys to shed some light on this. Unfortunately, little can be found in googling.
Here is the node:
My foreach loop:
string [] Ids = {........};
The LINQ statement is where I get the ArgumentExcpetion message:
An item with the same key has already been added.
Any tips on what might be wrong with my implementation of the foreach loop in this scenario?
Appreciate the support.
thanks
source share