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 to store image file in Sql server database?

4 Answers   Unique Software Systems,


Hello Friends..am Mohammed riyash..final year BCA in Jamal Mohamed College 2009. Trichy. My doubt is while connecting SQL2005 Built in Database withing the Visual Studio 2005 Framework.. I am getting the error.. That " An Error occurred and it may be due to , under the default settings of the Server, the connection cannot be established.." But the code works in MS Access for me.. Both in VB.Net and C#.Net am getting the same error.. Any genius please Message me to 9994558822 or mail me.. riyash.ips@gmail.com

3 Answers  


Can you have an array of arrays?

0 Answers  


What?s class SortedList underneath?

2 Answers  


Why do we use yield in c#?

0 Answers  


how to print invert pyramid in c#

0 Answers   ForSight,


What is datarelation c#?

0 Answers  


Can we have the method in drived class with the same name which is there in base class?

6 Answers   TCS,


How many types of methods are there in c#?

0 Answers  


Why are strings immutable in c#?

0 Answers  


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

0 Answers  


Is stringbuilder thread safe c#?

0 Answers  


Categories