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 use of console?

475


What is a three-tier application.

565


How to handle exceptions that are raised in a component?

598


What is the difference between internal and private in c#?

513


What is the keyword used to prevent a class from being inherited by another class?

674






What are the advantages of generics in c#?

509


Are c# destructors the same as c++ destructors?

569


What are the collection types can be used in c#?

474


What is a dictionary in c#?

504


What is a struct in C#?

563


What is the base class for array types?

578


What is a Managed Code??

548


What are sessions in c#?

500


what class is underneath the sortedlist class?

555


How many parameters can a method have c#?

491