I have a foreach loop running on a separate thread.

Code:
foreach ( string str in strg )
{
// my action 
}
I was wondering if there was a way i could pause this foreach loop at some point and then resume it later.

I tried searching this, but all i come up with is beginner tutorials on how to use the foreach loop.

So can anyone show me a different way to do an action so i can pause and resume it at some point, or do i just have to save where it stopped and resume it from there or something.

Thanks.