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 is difference between destruct or and garbage collection ?
What is clr namespace?
What is AutoMapper in C#?
Wcf and what is difference between wcf and web services?
What are sessions in c#?
What is event delegate in c#?
What is the base class in .net from which all the classes are derived from?
How can you sort strings in array that are passed to method as arguments?
What is the difference between dataset and datatable in c#?
Can we create multiple constructors?
Is a games console a computer?
What is the purpose of ienumerable in c#?
Why do we use abstract class in c#?
Explain about Threading Types.
What is concatenation and when should it be used?