Can we throw exception from catch block ?
Answer Posted / nilesh
Yes. A throw statement can be used in the catch block to re-
throw the exception, which has been caught by the catch
statement. For example:
catch (InvalidCastException e)
{
throw (e); // Rethrowing exception e
}
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain asp.net mvc request life cycle? : asp.net mvc
Which is better php or asp.net?
Why do we use asp.net?
Explain swagger components.
How use Xml data in ASP.net?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What are the Types of chaching. How to implement caching
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
Write a code for sending an email from asp.net application.
Can I combine classic asp and asp.net pages?
Who generates session id?
They mostly asked difference between versions of technologies
What kind of programming language is ASP.NET?
What is viewstate information stored?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites