Computer Science, asked by tammu8726, 1 year ago

when you have more than one exception type defined in the catch block, which block is executed?

Answers

Answered by PoojaBurra
0

Exception handling is a extremely important chapter that is sometimes not correctly understood or less used.

In this article I will describe to you about the Exceptions and how to handle them in C#.  

I will clear the different keywords that represent the exception handling in C# and  will provide some code demos to further illustrate the different uses of those keywords.

Answered by Sidyandex
0

Catches are the exception types in a sequence or activity that either displays an error or displaces it and continues to run the code.

A try block is a block of programs or code or information given to the computer.

The try block always has some exceptions. It is constantly followed by another block called catch block, which catches and handles an exception that happened in the associated try block.

Similar questions