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
What does this keyword mean in c#?
What is the use of list in c#?
What is ispostback c#?
What is the difference between delegates and events in c#?
What is difference between float and decimal?
What does immutable mean in c#?
What is an expression in c#?
What is difference between ienumerable and ienumerator in c#?
Which of the following API is used to hide a window?
What are events in C#?
Explain how many types of exception handlers are there in .net?
Are string objects mutable or immutable?
Why is dll used?
What are functions c#?
Where value types are stored in c#?