HI, I was wondering what your thoughts are on exception handling, i.e I have a method:
public void Method{}
{
for (int i=0;i < length )
{
// dosomething that may case exception
...
...
// rest of the code
}
}
Should I add the try catch block for exception handling for the whole loop or just the code that is most vunerable or something else? What's the best practice?