How to throw an caught exception from cath block?
Answer Posted / chandana
use the 'throw' keyword to throw an exception from a catch
block. ex,
catch (Exception e)
{
throw e;
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
how dot net compiled code will become platform independent?
Can we inherit private members of class in c#?
What is the use of tryparse in c#?
How do I use the 'using' keyword with multiple objects?
Is lazy t thread safe?
What problem does Delegate Solve?
What does convert toint32 mean?
How to declare a property in a class?
What is a bool in c#?
What's the difference between class and object?
Is var a data type?
What is parameterized constructor?
Why constructor is used in c#?
What is the ouput of the following program?
What are get and set in c#?