Why is it a bad idea to throw your own exceptions?
Answer Posted / guest
Not necessarily. If you're writing a library of code to be
used by other clients you don't always know the right thing
to do if an exceptional problem comes up. So it isn't always
a bad idea to throw your own exceptions.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
If a method's return type is void, can you use a return keyword in the method?
Are c# tuples immutable?
Why do we use dataset in c#?
What are the characteristics of c#?
i want the csharp questions&answeres
can multiple catch blocks be executed for a single try statement?
What is dbml file in c#?
What is lastindexof c#?
What is jit? What are the different types of jit?
What is command object in c#?
What is unmannaged code and will CLR handle this kind of code or not .
What is the meaning of MSIL?
Can I call a virtual method from a constructor/destructor?
what is boxing and unboxing?can we initialize unboxing directly?
What is c# used for in the industry?