Will finally block get executed if the exception had not
occurred?

Answers were Sorted based on User's Feedback



Will finally block get executed if the exception had not occurred?..

Answer / guest

Yes the finally block executed even when exception occurs
and when not occurs

Is This Answer Correct ?    9 Yes 0 No

Will finally block get executed if the exception had not occurred?..

Answer / kirti

Yes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is Named parameter in C#?

0 Answers  


Which programming language is best for desktop applications?

0 Answers  


What is interface inheritance in c#?

0 Answers  


What is difference between new and override in c#?

0 Answers  


What is the difference between private and protected in c#?

0 Answers  






What is the benefit of dependency injection c#?

0 Answers  


Is there regular expression (regex) support available to c# developers?

0 Answers  


List the differences between method overriding and method overloading?

0 Answers  


What is Dispose method in .NET?

3 Answers  


Why do we need nullable types in c#?

0 Answers  


What is the difference between double and decimal in c#?

0 Answers  


What is console read in c#?

0 Answers  


Categories