Why do we need a finally block in try catch block while
handling exceptions
Answer Posted / santosh
The code which should execute at any cost even when an exception occurs that code should be written in finally block
ex-closing a form when exception occurs.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What can I create with c#?
How do I simulate optional parameters to com calls?
Is there any sample c# code for simple threading?
What are console applications used for?
What does console mean c#?
What is .dbml file?
How to override a function in c#?
Why do we need constructors?
how background thread access to ui control?
What is a .aspx file?
Why is main static in c#?
Explain how to implement delegates in c#.net
What is the adv of using System.Text.StringBuilder over System.String?
What is float in unity?
Can we have static indexer in c#?