What if an error occurs in Catch block, how can you prevent it?
Answers were Sorted based on User's Feedback
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 |
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 |
What are the types of methods in c#?
can you declare an override method to be static if the original method is not static?
What is the difference between array.find method and arraylist.find method?
What is the functionality of break and continue in Visual Studio?
What is toint32 c#?
What are the different types of comments in c#?
Which is executed if an exception has not occurred?
What is overriding in c#?
Which is better interface or abstract class in c#?
What is the real use of interface in c#?
What are the generation of Garbage Collection in C# .NET ?
What is a delegate in c#?