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 |
Difference between dispose and destructor?
What is datacontract in c#?
What is difference between for and foreach loop in c#?
What is c# in asp net?
Is c# still popular?
What is connection pooling in ado.net?
Does C# supports multi-dimensional arrays ?
What is difference between virtual and override in c#?
Explain states of a thread in c#?
What is wpf application in c#?
What is type casting. Explain it with reference to classes.
2 Answers HCL, JPMorgan Chase,
Explain the difference between private and shared assembly?
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)