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
What does exclamation mark mean in access query?
What is difference between dll and exe in c#?
List the difference between the virtual method and the abstract method?
Why objects are stored in heap in c#?
What is a streamwriter in c#?
Define an array?
What is different about switch statements in c#?
Can int be null c#?
What is the difference between overriding and overloading in systemverilog?
What is the difference between early binding and late binding in c#?
Explain what is an interface in c#?
What is the difference between “finalize” and “finally” methods in c#?
How do you define a predicate?
Can derived classes have greater accessibility than their base types?
4. Describe the process when we send a request URL? And who is responsible for that?