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
What is the use of nullable types in c#?
What are the uses of delegates in c#?
What is the difference between an implicit conversion and an explicit conversion?
What is uint64_t?
Is arraylist faster than linkedlist?
Can we override static class in c#?
Explain streamreader/streamwriter class?
Can you inherit multiple abstract classes in c#?
What is writeline in c#?
What is ildasm.exe used for?
What does firstordefault mean in c#?
What are anonymous types in c#?
Explain the use of Mutex in C#?
how can one use hcl and c sharp together?
How can I use .NET components from COM programs?