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 to use reflection to call generic method?

948


What are cshtml files?

950


What is ac callback?

950


Describe the difference between inline and code behind - which is best?

1199


What is the difference between integer and double?

977


what is IFormatable

1042


what is IDisposal interface

1205


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

1036


What is the difference between “out” and “ref” parameters in c#?

1041


Explain how do I get deterministic finalization in c#?

971


Explain anonymous type in c#?

1003


What is collection of classes in c#?

1071


What is the difference between CONST and READONLY?

1131


Can we have two main methods in c#?

1025


Why generics are used?

950