What if an error occurs in Catch block, how can you prevent it?

Answers were Sorted based on User's Feedback



What if an error occurs in Catch block, how can you prevent it?..

Answer / sanchayeeta sen

hi,
we can insert a new try-catch block inside the catch block.
try-catch blocks are used for handling errors in c#.


thanks

Is This Answer Correct ?    8 Yes 0 No

What if an error occurs in Catch block, how can you prevent it?..

Answer / anita chauhan

catch block is used for handling exception or error and if
any such error occures in catch block then again we should
put some exception for that error in the same catch block.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What is c# in asp net?

0 Answers  


Name the connections does microsoft sql server support?

0 Answers  


Any .net training centers available near hitech city , hyderabad?

2 Answers  


What are the boolean data types in c#?

0 Answers  


What is tuple in c#?

0 Answers  


What is the difference between integer and double?

0 Answers  


What is inumerable?

0 Answers  


What are partial types in c#?

0 Answers  


What is the difference between early binding and late binding in c#?

0 Answers  


What is delegate in c# interview questions?

0 Answers  


Can we make a class private in c#?

0 Answers  


Enlist some of the properties of a thread class?

0 Answers  


Categories