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
What is expression c#?
Why do we need nullable types in c#?
What is assembly c#?
What are generic types?
What are the types of delegates in c#?
What are the different ways of method can be overloaded?
What is nameof c#?
What is a property in c#?
What is cookies c#?
What is anonymous methods in c#?
What is type checking in c#?
Why main is static in c#?
Can you declare a field readonly?
Can abstract class have constructor c#?
Why do we need abstract class?