CodePudding user response:
With the Parallel ForEach (); To implement a collection in parallel, all elements into the next parallel processing is complete,CodePudding user response:
Parallel to Excel is a STA, you can't write, Excel will not be pleased,Standard practice is asynchronous in the queue, and then at the appropriate time synchronization to Excel,