I’ve heard the phrase:
“let the call stack unwind more than one level”
being mentioned in exception handling.
What does this mean?
Language in question is C#.
Thanks
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.
In simplistic terms, you can think of the call stack working as follows:
So, when the call stack unwinds more than one level, more than one stack frame comes off at once — like a series of nested method calls (not just a single method call) returning.
In terms of exceptions:
Apologies for being a bit fast-and-loose with the terminology.