Infinity or Exception in C# when divide by 0?
Answers
Answered by
0
Answer:
Exception Handling in C# is a process to handle runtime errors. We perform exception handling so that normal flow of the application can be maintained even after runtime errors.
In C#, exception is an event or object which is thrown at runtime. All exceptions the derived from System.Exception class. It is a runtime error which can be handled. If we don't handle the exception, it prints exception message and terminates the program.
Similar questions
English,
7 months ago
Math,
7 months ago
Computer Science,
7 months ago
English,
1 year ago
Chemistry,
1 year ago