0
Q:

how to break out of parallel.foreach

 Parallel.ForEach(list,
    (i, state) =>
    {
       state.Break();
    });
0

New to Communities?

Join the community