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
How do I do a case-insensitive string comparison?
What are different types of classes in c#?
Describe two uses of the “using” statement during the operation of c#?
What is uint64?
What is an object pool in .net?
What is difference between ilist and list in c#?
Compare and contrast between the System.Array.CopyTo() and Clone()?
How do I edit a dll file?
What is instantiating a class?
What is sorted list in c#?
Is there an equivalent to the instanceof operator in visual j++?
What are the concepts of dispose method?
What is a Assembly?
What is dynamic object in c#?
What is assembly version series sequence?