I have this sequential loop in vb.net.
For i As Integer = 0 To 615 Step 15
DownloadSingleFile(i)
Next
The "Step 15" part in the loop is important. I'm unable to figure out a parallel substitute for this code.
I tried the below code, but it is missing the "Step 15" part.
Parallel.For(0, 615, Sub(i)
DownloadSingleFile(i)
End Sub)
Please help.