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

Answer Posted / nirav darji

yes offcourse.in appliation finally block is always
executing.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a partial class. Give an example?

584


Difference between debug.write and trace.write?

612


What .exe means?

582


Why objects are stored in heap in c#?

560


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

532






Are c# references the same as c++ references?

633


Is an array an object c#?

621


What is c# windows form application?

581


Which is faster array or arraylist in c#?

556


What is the difference between static class and singleton class in c#?

567


Why to use “finally” block in c#?

621


Is char * null terminated?

608


How a two-dimensional array declared in C#?

643


Is constructor a static method?

596


What is deferred execution in c#?

602