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 / nirav darji

yes offcourse.in appliation finally block is always
executing.

Is This Answer Correct ?    4 Yes 1 No

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

Answer / guest

yes

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More C Sharp Interview Questions

How do you serialize an object?

0 Answers  


Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?

5 Answers  


What is use of a HashTable in .NET?

0 Answers   Arigo Infotech,


What is a console file?

0 Answers  


Which control cannot be placed in mdi?

0 Answers  






Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

0 Answers  


Define delegate?

0 Answers  


what is a constructor? What is a destructor?

0 Answers  


Can abstract class have parameterized constructor?

0 Answers  


Why is c# a good programming language?

0 Answers  


Why do we use hashtable in c#?

0 Answers  


Why static variables are used?

0 Answers  


Categories