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 / vijay kumar inumella

finally block will be executed irrespective of whether
the exception occured or not.
finally block is generally used to close the database
connections and to dispose the session objects etc.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long will it take to learn c sharp?

989


What is ienumerator c#?

925


Why are dynamic link library used over static one?

1022


What are the Configuration files in .net?

994


What is the use of generics in c#?

909


What is the data type for bit in c#?

1016


What is the difference between yield and return?

944


What is ienumerable <> in c#?

956


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

1114


What is c-sharp (c#)?

996


Differentiate between static class and singleton instance?

1059


What is the difference between struct and class c#?

1043


How does it work?

979


What is the signature of a method?

968


What is the difference between list and ilist in c#?

932