Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


how do you do exception management

Answers were Sorted based on User's Feedback



how do you do exception management..

Answer / matt s

try - catch - finally. Catch most specific exceptions
first.

Is This Answer Correct ?    21 Yes 2 No

how do you do exception management..

Answer / 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

how do you do exception management..

Answer / hari

Try- Catch - Finally.

Is This Answer Correct ?    11 Yes 1 No

how do you do exception management..

Answer / bobby

try
catch
finally
Catch most specific exceptions
first.

Is This Answer Correct ?    5 Yes 2 No

Post New Answer



More C Sharp Interview Questions

Explain About disco and uddi

0 Answers   Digital GlobalSoft,


STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??

3 Answers   IBM, TCS,


What is difference between continue and break in c#?

0 Answers  


Why do we need interfaces?

2 Answers   HCL,


How does c# achieve polymorphism?

0 Answers  






What is the default scope of a class in c#?

0 Answers  


How u call destructor and dispose methode in c#.NET

1 Answers  


What is the use of nullable types in c#?

0 Answers  


What method is used to sort the elements of the array in descending order?

0 Answers   Siebel,


What is gac? How to put assembly in gac?

0 Answers  


What are the uses of delegates in c#?

0 Answers  


Explain streamreader/streamwriter class?

0 Answers  






Categories