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

Answer Posted / basayya_swami

yes, finally block always execute if exception occerred
donot occurred is not a matter

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is firstordefault c#?

737


What is difference between struct and class in c#?

695


What is the difference between int.parse and int.tryparse methods?

770


What is a generic method?

661


what class is underneath the sortedlist class?

738


What is interpolation in programming?

701


What is generic in c#?

637


Write the syntax for catching an exception in c#?

680


What are the types of operator?

649


Explain briefly the difference between value type and reference type?

768


What is difference between code access and role based security?

745


I want to print "Hello" even before main() is executed. How will you achieve that?

721


Can bool be null c#?

684


Is overriding of a function possible in the same class?

699


who is a protected class-level variable available to?

751