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 thread safe in c#?
Explain About .NET Remoting and types of remoting
What is difference between ienumerable and list?
Why do we override in c#?
How does substring work in c#?
Can you use all access modifiers for all types?
What are extender provider components?
What is the and operator in c#?
What is a partial class in c#?
Can we make a class private in c#?
Explain jagged arrays in c#?
Can we have only “try” block without “catch” block in c#?
What is a method signature?
What does clr stand for?
Define interface class in c#?