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 is remote data?
What language is arduino?
Is c# queue thread safe?
What is difference between field and property in c#?
Why do we use dictionary in c#?
Can a loop recorder detect a heart attack?
What is cts, clr?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
Explain the accessibility modifier protected internal?
What is action c#?
What is public, private, protected, internal and internal protected?
How do I create multifile assembly?
How do you declare an arraylist?
What is a partial method?
What is the difference between out and ref in c#?