how do you do exception management
Answers were Sorted based on User's Feedback
Answer / matt s
try - catch - finally. Catch most specific exceptions
first.
| Is This Answer Correct ? | 21 Yes | 2 No |
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 |
Answer / bobby
try
catch
finally
Catch most specific exceptions
first.
| Is This Answer Correct ? | 5 Yes | 2 No |
What are jagged arrays used for?
What does mean c#?
what is the Difference between the public and private ?
What is the best method to fill the GridView. using SqlDataReader or Dataset and why
What is a byte in c#?
What is console readkey in vb net?
what is method overloading in c#?
How do I count the length of a string in c#?
Where’s global assembly cache located on the system?
How do I start a program in c#?
Explain 'structure padding'?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)