Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to throw an caught exception from cath block?

Answer Posted / chandana

use the 'throw' keyword to throw an exception from a catch
block. ex,

catch (Exception e)
{
throw e;
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between class and interface in c#?

928


Is c# strongly typed?

848


Why do we use methods in c#?

898


Which is better python or c#?

873


What is an array? Give the syntax for a single and multi-dimensional array?

911


What is difference between static and readonly in c#?

1029


What are the Configuration files in .net?

961


How can we set class to be inherited, but prevent the method from being over-ridden?

988


What is a string c#?

903


Why do we need ienumerable in c#?

925


How do switch statements work?

909


When a Static Constructor is called in a Class?

1040


Can you use all access modifiers for all types?

976


Explain how do you debug an asp.net web application?

920


Why would you use a class property in c#?

918