Hi,
How to restrict the randomly loop running in Parallel.For using vb.net?
Is any option is available to run '0'-th index to 'N'-th index sequentially.
Example:
Array List having 10 items, its total count as 10.
and Using Parallel.for loop execute one by one random wise,
Performance oriented this feature is very good, so I want overcome normal for loop to Parallel.For loop.
Actual Parallel.For loop output is:
Output: 1,5,2,7,0,3,8,4,9,6.
I want to execute value one by one like normal For loop.
Output: 0,1,2,3,4,5,6,7,8,9.
If available, then which function used to handle this.
.