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...

how do you do exception management

Answer Posted / manish agrahari

try
{
//try and do something here...
}
catch (SomeExeption ex)
{
//Handle the exception and take appropriate action
}
finally
{
//This code will *always* run irrespective if you have
//an exception or not. Usually this is some clean up of
//some sort though.
}

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run managed code in a process?

960


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

901


Expalin the way you implement inheritance by using VB.NET/C#?

914


What is dictionary and hashtable in c#?

887


Is it possible to force garbage collector to run?

848


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

823


What are partial types in c#?

839


Describe two uses of the “using” statement during the operation of c#?

898


Explain the OOPS concept in C#?

927


What is system predicate?

831


What are anonymous functions in c#?

877


How many types of constructor are there in c#?

851


What does type safe mean in c#?

918


What are reflections in c#?

848


What is managed or unmanaged code?

1014