Answer Posted / guest
Well, 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 ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is cshtml?
Is null in c#?
What is the difference between protected and internal in c#?
Is visual c# free?
Can we have two main methods in c#?
Why we use get set property in c#?
What is a framework in c#?
What is the console on a mac?
What does return do in for loop?
What is strong name assembly?
Is it possible to force garbage collector to run?
What are the 3 elements of delegation?
What is literal in c#?
What is satellite assembly? And steps to create satellite assembly?
What is the difference between ref and out parameters in c#?