Hi all,I am the beginner.
Please tell use of finally block.

Answer Posted / chetan dubey

we use finally block in exception handling ,it is must
executable block of statement i.e. if there is any
exception is occured ,the code in the finally block is must
executed.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Namespaces?

558


What are the different types of literals in c#?

503


Is stringbuilder better than string?

517


Why is c# a good programming language?

476


Why var is used in c#?

495






What debugging tools come with the .NET ssSDK?

692


What is nullable types in c#?

499


Is string immutable in c#?

570


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

1496


How many types of variables are there in c#?

524


Is object an int c#?

525


Can constructor be private c#?

486


What is the difference between “finalize” and “finally” methods in c#?

470


What does this keyword mean in c#?

519


How do I get deterministic finalization in c#?

607