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...

Can multiple catch blocks be executed?

Answer Posted / vijay saxena

No,

try
{
int p = 0;
int t = 6 / p;
}
catch (ArithmeticException ex)
{
Console.WriteLine("Arithmetic Exception");
}
catch (Exception ex)
{
Console.WriteLine("General Exception");
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is extension method in c sharp?

865


Which sorting algorithm is best?

947


What is streamreader/streamwriter class?

896


Is Facebook a desktop application?

879


Why array is faster than arraylist in c#?

951


How do you set a class path?

838


What is the difference between delegates and events in c#?

931


Are structs value types c#?

855


What is the use of protected in c#?

902


Is c# pass by reference?

851


Is null in c#?

819


What is difference between managed and unmanaged code?

946


What is private static in c#?

871


What is COM Interoperability?

918


Can firstordefault return null?

895