Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Thursday, September 3, 2015

Compile Error CS0157: Control cannot leave the body of a finally clause

Few days back, I was working on an exception. So I was using "try-catch-finally" in a method, which is a very common technique for handling exception. For curiosity, I returned a value from the finally block and guess what?? I got this compiler error...

Tuesday, January 27, 2015