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 Disadvantages of vb
To allow an element to be accessed using a unique key which .NET collection class is used ?
How do you create empty strings in c#?
What is the difference between wrapper class and primitive?
What is difference between hashtable and dictionary in c#?
What is the difference between ienumerable and iqueryable?
Explain the advantage of using system.text.stringbuilder over system.string?
What is trim in c#?
Where is the main method in c#?
what is IFormatable
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
Which language is used for desktop application?