1
Reply

Taking the control from the exception block

thiru_in

thiru_in

Sep 15 2004 3:52 PM
1.9k
All, I have a problem with my C# code. I've some logic implemented in a function and i have a for loop.When there is a exception in the loop, it goes to the exception block and exits the function. I need the control back to the loop until the loopcount is fully executed.Means if i=5 and if there is exception when i=2, i dont want to exit, rather i want to log that error and contnue on the loop. Any idea how i can implement this ?? rgds

Answers (1)