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

Why would you use a class property in c#?

0 Answers  


Explain about finalize method?

0 Answers  


What is the use of delegates in c#?

0 Answers  


Explain About a class access specifiers and method access specifiers.

0 Answers  


Can you override private virtual methods?

5 Answers  


Can we have only “try” block without “catch” block in c#?

0 Answers  


What is difference between array and arraylist in c#?

0 Answers  


What type of data type conversion happens when the compiler encounters the following code?

0 Answers  


Is it possible to have a static indexer in c#? Allowed in c#.

0 Answers  


User's session is explicitly killed by which method ?

0 Answers   Siebel,


What are the uses of delegates in c#?

0 Answers  


What is the use of the dispose method in C# ?

0 Answers   Infosys,


Categories