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
Define cookie.
Is asp.net and .net are same or different?
What are the events in a page life cycle?
What are server side controls?
What is mta?
Explain the steps needed to be performed in order to create an animation in xaml?
What is recordset asp?
Is asp.net core faster?
What is asp.net with mvc? : Asp.Net MVC
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
What is voluum?
What is web api and why to use it?
Explain what are webservices?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
Is it possible to migrate visual interdev design-time controls to asp.net?