PLINQ

Language-Integrated Query (LINQ) was introduced in .NET Framework 3.5. It allows us to query in-memory collections such as List<T>. You will learn more about LINQ in Chapter 15, Using LINQ Queries. However, if you want to find out more sooner, more information can be found at https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/index.

PLINQ is the parallel implementation of the LINQ pattern. They resemble LINQ queries and operate on any in-memory collections but differ in terms of execution. PLINQ uses all the available processors in the system. However, the processors are limited to 64 bits. This is achieved by partitioning the data source into smaller tasks and executing each task on separate worker threads ...

Get Programming in C#: Exam 70-483 (MCSD) Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.