Your example does not work a bit.
Assuming you have an array of 52 elements, the correct way to access it is to check that your index is within the array before you even try to access it. This is much better than just wrapping the code in try .. catch there.
Try Catch to help save us from yourself. If this method is encoded correctly, there is very little reason for using them. Correctly, I mean that you check that your inputs are within the expected ranges, and you have tried enough to know that the code will not be "excluded". Of course, the βvery fewβ example includes calls to unmanaged resources, such as an SqlConnection object.
A point is a crutch that is the last desire to save something useful from this particular execution of code blocks.
If, however, literally nothing can be done regarding exclusion, I would say that your only choice is to ignore it and allow it to pop up or catch, register and reconstruct.
Notme source share