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

How do you define a predicate?

484


What does void mean unity?

498


Can I use parseint?

481


What is cosole application?

570


Explain constructor in c#?

680






Explain about Oops concept

546


What is thread safe in c#?

490


What is enum in c#?

530


Why do we need ienumerable in c#?

462


What are strongly typed objects?

479


What does protected internal access modifier mean?

545


What is delimiter in c#?

481


What is the difference between null and string empty in c#?

462


What do you mean by directing?

486


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

519