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

Is list a collection c#?

978


What is ildasm.exe used for?

1016


Do we get an error while executing the “finally” block in c#?

955


can you allow a class to be inherited, but prevent the method from being over-ridden?

969


What is base class in c#?

1003


What is iqueryable and ienumerable in c#?

955


What is mean by c#?

938


What is datatable in c#?

943


Why are dynamic link library used over static one?

975


if you do have a stack overflow profile.what is your ranking?

1884


Can you store strings in arrays?

976


What is assembly version series sequence?

992


Is array a collection c#?

921


What is difference between overloading and short circuiting?

987


Why do we need nullable types in c#?

1165