Home > DeveloperSection > Forums > When to use PLINQ?
Anupam Mishra

Total Post:135

Posted on    January-14-2016 10:11 PM

 C# C#  .NET 

 1 Reply(s)
 376  View(s)
Rate this:
I want to know which scenario PLINQ is better? Please give me a answer.
thank you

Shiva Shukla
Shiva Shukla

Total Post:13

Posted on    January-24-2016 11:52 PM

PLINQ is a set of LINQ extensions that can be used to operate on lists in parallel through methods such as the LINQ Select statement.  You can just place the extension AsParallel before the Select call inside your LINQ statement and the software will attempt to take advantage of multiple threads in your system to perform the calculation in the LINQ statement concurrently when acting upon a collection.   If you want to get load balancing you can use the Partitioner.

Don't want to miss updates? Please click the below button!

Follow MindStick