Possible Duplicate:
List of exceptions that CAN'T be caught in .NET
As is documented, try/catch blocks can’t handle StackOverflowException and OutOfMemoryException.
Are there any other Exceptions that also suffer from this limitation?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Jeffrey Richter made several good points on this topic in his book CLR via C#, part “Trading Reliability for Productivity”.
BTW, you can catch and handle OutOfMemmory: