API
Parallel.For
Executes independent loop iterations with parallel scheduling.
Formal Syntax & Structure
csharp syntaxcsharp
Parallel.For(0, input.Length, options, i => output[i] = input[i] * input[i]);Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Parallel.For(0, input.Length, options, i => output[i] = input[i] * input[i]);