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 |
List out two different types of errors in c#?
What do you understand by an Implicit Variable?
Explain the feature of c# language?
What is the data encapsulation?
Can we inherit a private class in chsarp? how? explain(with code) ?
What's the difference between system.string and system.text.stringbuilder classes?
Can you prevent a class from being instantiated?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
Explain lock, monitors, and mutex object in threading.
What is a system lock?
is it possible to inherit a class but methods declared in the class should not be inheritable i possible how?
Can we maintain state in webservice?
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)