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
What do you mean by serialization in .NET?
Can non-default constructors be used with single call sao?
Why constructor is used in c#?
What are verbatim strings in c#?
What is c# entity framework?
What are the different types of assembly?
Why can’t struct be used instead of class for storing entity?
What are the namespace level elements?
what is a static constructor?
What is the difference between values and reference types?
Is c# front end or back end?
What is a void c#?
What's the c# syntax to catch any possible exception?
Can constructor be private c#?
What is string literal in c#?