Q:

How is the exception handling done in C#?

0

How is the exception handling done in C#?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

In C# there is a “try…catch & finally” block to handle the error.

try {
   // statements causing exception
} catch( ExceptionName e1 ) {
   // error handling code
}  finally {
   // statements to be executed
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Can we execute multiple catch blocks in C#?... >>
<< What are Access Modifiers in C#?...