Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why do we need a finally block in try catch block while
handling exceptions

Answer Posted / santosh

The code which should execute at any cost even when an exception occurs that code should be written in finally block
ex-closing a form when exception occurs.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c# support a variable number of arguments?

1067


Can abstract class be instantiated c#?

982


What is attribute c#?

894


What is multithreading? What are the problems that comes with multithreading and how to manage them?

1027


In which way you can convert a value-type to a reference-type?

1011


What is marshalling and what are different kinds of marshalling?

970


How Is The Dll Hell Problem Solved In .net?

1066


What is Named parameter in C#?

1039


Can a struct inherit from another struct or class in c#?

952


How do you name a variable in c#?

962


Explain the types of errors in c#?

952


What does assert() do in c#?

1069


What is the diff between System.String and System.Text.StringBuilder classes?

1062


Why are c# strings immutable?

1048


What does .length do in c#?

999