Error handling and how this is done ?
Answer Posted / kishore anumala
Error handling is the Main concept of debugging.
This can be done by creating the log files when an
exception is occurred to trace the error where exactly it
occurred..
Example:
try
{
Your code;
}
catch(exception e)
{
Here you can log the error by using object e;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Should I make my destructor virtual?
How do I convert a string to an int in c#?
Explain the 3 types of properties in c# with an example?
What is event and delegates in c#?
What is the use of 0 in c#?
What is orm in c#?
Is visual c# free?
Why do we need reflection in c#?
Why do we use public static void main in c#?
What is meant by clr?
What is callback method in c#?
What is a multi line comment?
What is the purpose of a constructor in c#?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
How do I create a single-file assembly?