Answer Posted / swapna
if at that point you know that an error has occurred, then
why not write the proper code to handle that error instead
of passing a new Exception object to the catch block?
Throwing your own exceptions signifies some design flaws in
the project.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
What is attribute and reflection in c#?
What is c sharp language?
Can we declare class as protected?
What is the full form of GAC? Explain its uses?
What is method overriding in c#
Can an int be negative c#?
Is 0 an unsigned integer?
What is the difference between IEnumerator and IEnumerable?
What is parallel foreach c#?
Explain the process of polymorphism with an example?
How do I stop my console from closing in c#?
What is data set in c#?
Is stringbuilder better than string?
Explain the types of errors in c#?