Suppose you have an array of 1000 random integer numbers and you need to loop over it to find the number 68 for example.
Using the new Parallel.For on a quad core CPU would improve speed considerably, making each core to work only 250 array items.
The question is: is it possible to interrupt the Parallel.For loop when the following condition is met?
if (integerArray[i] == 68)
break;
Thanks.