Tag Archives: PLINQ

Use PLINQ to select prime numbers from an array in C#

The example Use PLINQ to select even numbers from an array in C# uses PLINQ (Parallel LINQ) to find the even numbers in an array of random values. This example uses a similar technique to do something slightly more interesting: … Continue reading

Posted in LINQ, performance | Tagged , , , , , , , , , , , , , | Leave a comment

Use PLINQ to select even numbers from an array in C#

This example is really a demonstration of PLINQ, since you probably won’t need to use this technique to find even numbers. (If you do need to generate even numbers, it’s a lot faster and easier to simply pick random numbers … Continue reading

Posted in LINQ, performance | Tagged , , , , , , , , , , | 3 Comments