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


Please Help Members By Posting Answers For Below Questions

How can you achieve run time polymorphism in C#?

638


What is difference between array and collection in c#?

532


What are the types of delegates in c#?

547


What is difference between sleep () and wait ()?

572


Explain types of comment in c# with examples

577






Does unity require coding?

610


What is type class in c#?

570


What are the 2 broad classifications of fields in c#?

625


What does assert() do in c#?

638


Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

597


How Is The Dll Hell Problem Solved In .net?

670


What is the data provider name to connect to access database?

585


Is there a way of specifying which block or loop to break out of when working with nested loops?

629


What are extensions in c#?

617


Is arraylist generic in c#?

548