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 STA And MTA in threading?
What is .cs file in c#?
Explain the difference between a namespace and assembly name in .net?
Which framework is best for desktop application?
What is parsing?
Which namespace is required to implement trace ?
Name which controls do not have events?
What is double c#?
What is a bool in c#?
How can you clean up objects holding resources from within the code?
Illustrate namespaces in c#?
What is c# in asp net?
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)