METHOD

AsParallel

Opts into parallel LINQ processing where supported.

Formal Syntax & Structure

csharp syntaxcsharp
values.AsParallel()

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.values.AsParallel()
C# & .NET Reference