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 do you understand by the terms datareader object and dataset object?
Is datetime value type c#?
What's your approach to fetch static data in your windows form application?
What is dll in c#?
What is the extension of c# file?
Is it possible to inline assembly or il in c# code?
Is int reference type c#?
Which are access modifiers available in c#?
Can we override static class in c#?
Can you see a loop recorder?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
What is an enumerator in c#?
Which is faster hashtable or dictionary?
Why ienumerable is used in c#?
What are the advantages of using partial classes?