Will finally block get executed if the 1exception had not
occurred?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
Yes a finally block always executes irrespective of the fact
if or if not an exception was thrown in the associated try
block.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / basayya_swami
yes, finally block always execute if exception occerred
donot occurred is not a matter
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shiba shankar
yes, the exception may or may not occur it is mandatory
that the finally block must be executed.
Is This Answer Correct ? | 0 Yes | 0 No |
Can we extend sealed class in c#?
What is immutable in C#?
0 Answers SwanSoft Technologies,
Can we inherit partial class in c#?
What is property in c#?
Difference between dispose and destructor?
How can I use .NET components from COM programs?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
I have a class declared as below public class a { public void add() {} } What is the diference between a a1 =new a; and simply a a1;
Define thread? Explain about multithreading?
Is vs as c#?
What is the difference between list and ilist in c#?
What is a string in c#?