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 the difference between an application domain and a process?

480


What is the difference between out and ref in c#?

481


How you will create satellite assemblies?

486


What are the Types of values mode can hold session state in web.config

549


Which function is the entry point for a DLL in MS Windows 3.1?

681






the c# keyword .int. Maps to which .net type?

748


Suppose two interfaces have same method, so how will you implement these methods in derive class?

480


What does the dispose method do with the connection object?

535


What is expression tree with example?

487


What is event and delegates in c#?

572


What is meaning of type safety in c#?

464


Differentiate between method overriding from method overloading with its functionality?

538


What is difference between private and protected in c#?

493


What is continue in c#?

511


Why are mutable structs evil?

541