Click or drag to resize
DigitalRuneParallelFor Method (Int32, Int32, ActionInt32)
Executes a for loop where each iteration can potentially occur in parallel with others.

Namespace: DigitalRune.Threading
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static void For(
	int startInclusive,
	int endExclusive,
	Action<int> body
)

Parameters

startInclusive
Type: SystemInt32
The index (inclusive) at which to start iterating.
endExclusive
Type: SystemInt32
The index (exclusive) at which to end iterating.
body
Type: SystemActionInt32
The method to execute at each iteration. The current index is supplied as the parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionbody is .
See Also