What if an error occurs in Catch block, how can you prevent it?

Answers were Sorted based on User's Feedback



What if an error occurs in Catch block, how can you prevent it?..

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

What if an error occurs in Catch block, how can you prevent it?..

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

Post New Answer

More C Sharp Interview Questions

Why we use anonymous methods in c#?

0 Answers  


What is an event in c#?

0 Answers  


What is Dispose method in .NET ?

9 Answers   247Customer, KAP, TCS,


What are extensions methods in c#?

0 Answers  


What is interface c#?

0 Answers  






Explain the features of an abstract class in net.

0 Answers  


Explain how obfuscator works in .net

0 Answers  


coding for delegates?

3 Answers   Tech Mahindra,


Define delay signing?

0 Answers  


What is a multicast c# delegate?

0 Answers  


Can you describe iuknown interface in short?

0 Answers  


i have a table named login in mysql database containing (empid,fname,lname,mobno,emailid,usrname,usrpwd) i have 2 textboxes in which i enter my username and pwd..so based on what is entered in those textboxes it should retreive all other details of dat username in the remaining 6 textboxes..i want the code for this...

1 Answers   Royal Enfield,


Categories