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
Why it's said that writing into .NET Application Configuration Files is a Bad Idea?
Which is faster iqueryable or ienumerable?
Explain about multithreading?
What is yield in c#?
what is the meaning of Object lifetime in OOPS
How do namespaces work?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is string empty?
Which is better javascript or c#?
Is concurrent queue thread safe?
How do you read an Excel sheet in C#?
What is desktop GUI application?
Is c# dictionary a hash table?
What is meant by desktop application?
Is array a list?