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
Is concurrent queue thread safe?
what is the difference between convert.tostring() and tostring() functions ?
Can properties be static in c#?
What is managed code?
What is constants in c#?
What is sqladapter c#?
What is null character in string?
What is monitor in C#?
Can you inherit from a static class in c#?
What is difference between string and string builder?
how to stored and retrive video in Sql server using asp.net c#......?
What is the use of readkey in c#?
Why to use “finally” block in c#?
Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana
What is anonymous types in c#?