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
Define c# i/o classes? List the commonly used classes?
What are different types of classes in c#?
What is the difference between array and arraylist c#?
How objects are stored in memory?
Is equal in c#?
What is the difference between new and override in c#?
How is the syntax written to inherit from a class in C#?Give an example ?
What are the Types of JIT and what is econo-JIT
Is c# scripting language?
explain the nature of the assembly work?
Are c# constructors the same as c++ constructors?
What is the use of protected in c#?
How do partial classes work in c#?
What is float in unity?
Define boxing and unboxing in c#?