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

What are the generation of Garbage Collection in C# .NET ?

957


While debugging a C# application can you change the value of a variable?

1045


What are the different types of delegates?

935


What is regex c#?

904


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

1732


What is session and cookies in c#?

970


What is difference between first and firstordefault?

913


Are all methods virtual in c#?

947


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1892


Is predicate a functional interface?

973


What is the use of expression tree in c#?

875


What do you mean by parsing and how to parse a date time string in c#?

1009


what is the default access for a class

1102


How does split work in c#?

909


My switch statement works differently! Why?

916