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 is the example of predicate?
Why do we use reflection in c#?
What is the difference between string and string in c#?
Explain the types of assemblies in .net?
Difference between abstract classes and interfaces
What are delegates in C#?
What is Abstraction?
8 Answers Google, HCL, IBM, MAHINDRA, Tech Mahindra,
Define a partial class?
Name the control which cannot be placed in mdi?
How do you convert byte array to hexadecimal string, and vice versa?
To create a localized application which namespaces are necessary?
What is deadly diamond problem?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)