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 the difference between properties and indexer in c#?

920


Is php better than c#?

925


What do you mean by sealed classes and static classes?

1003


What are Memory foot print of an exe?

1026


What is the use of parse in c#?

913


How do you create partial methods?

985


Why is aws serverless?

885


What is the default value of singleordefault?

956


How do you comment out code in c#?

915


Why is main static in c#?

970


What is private class in c#?

943


In how many ways you can overload a method?

1066


What is writeline in c#?

876


How C# 4.0 supports dynamic programming language?

1023


What is an Interface in C#?

984