What is the use of giving more than one CATCH BLOCK in one
TRY block? Directly we can give that catch(Exception e)?Why
we go for arrayoutofbound Exception,divided by zero etc..?
Explain

Answer Posted / raman

C# is not only an object oriented but real
scenariodevelopment.
Purpose of multiple catch block is to map the exact error
and handle it accordingly. Handling Exception e is the
worst type of development.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need reflection in c#?

487


Explain states of a thread in c#?

528


Why are strings immutable c#?

469


Which control cannot be placed in mdi?

526


What is the purpose of escape sequence?

581






Is c# good for web development?

539


What are jump statements in c#?

501


What is using keyword in C#?

570


Define an abstract class?

506


Define multicast c# delegate?

558


Is c# static or dynamic?

499


What is array and its types in c#?

526


What is data adapter in c#?

470


Explain About delegates

596


How do you mark a method obsolete?

578