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
Do vs while c#?
Should I make my destructor virtual?
What is difference between override and new in c#?
What is sql transaction in c#?
Difference between Value type & reference types ? and give the example in .Net?
How to block a class from being inherited further?
Distinguish between a class and struct?
How to use the sreamReader class to read form a text file?
When do you generally use a class over a struct?
How to declare a property in a class?
Is null empty or whitespace c#?
What language is c# similar to?
What are "class access modifiers" in C#?
What is the difference between static and private constructor?
What do you mean by “finalize” and “finally” methods in c#?