can we throw execption from catchblock

Answer Posted / nithya

We can throw exception in catch block

Like

try
{
int a=10/0;
}
catch(Exception ex)
{
throw ex;
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is serialization in c#?

468


Can namespace contain the private class?

482


What does dbml mean in texting?

510


Why delegates are type safe?

476


How is the syntax written to inherit from a class in C#?Give an example ?

529






how to stored and retrive video in Sql server using asp.net c#......?

514


What does ienumerable mean?

468


What is difference between continue and break in c#?

471


What does the keyword “virtual” declare for a method or property?

519


Is namespace necessary in c#?

481


Explain the various types of classes used in c#?

485


What is the use of static in c#?

481


What is the difference between == and object.equals?

495


Describe two uses of the “using” statement during the operation of c#?

536


What are the various components in crystal reports?

493