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
Does c# support a variable number of arguments?
Can abstract class be instantiated c#?
What is attribute c#?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
In which way you can convert a value-type to a reference-type?
What is marshalling and what are different kinds of marshalling?
How Is The Dll Hell Problem Solved In .net?
What is Named parameter in C#?
Can a struct inherit from another struct or class in c#?
How do you name a variable in c#?
Explain the types of errors in c#?
What does assert() do in c#?
What is the diff between System.String and System.Text.StringBuilder classes?
Why are c# strings immutable?
What does .length do in c#?