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

Can fields inside a class be virtual?

0 Answers  


What is the Difference between directcast and ctype?

1 Answers   Wipro,


What are examples of desktop applications?

0 Answers  


What is a multicast delegate in c#?

0 Answers  


What is linq c#?

0 Answers  






What namespaces are necessary to create a localized application?

2 Answers  


What is throw in c#?

0 Answers  


Define c# and list the features.

0 Answers  


What does it mean to override a method?

0 Answers  


interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?

5 Answers  


HOw to judge a person for a team if you are allowed to ask only 2 questions to him?

2 Answers   TCS,


What exception can an overridden method throw in comparison with the method it is overriding?

0 Answers   Changepond,


Categories