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

What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?

Answer Posted / guest

A catch block that catches the exception of type
System.Exception. You can also omit the parameter data type
in this case and just write catch {}.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between abstract class and interface.

1160


Why generics are used in c#?

959


What is sorted list in c#?

893


What are the delegates in c#?

947


Explain about finalize method?

932


What is meant by enumerable in c#?

963


What is difference between virtual and override in c#?

868


Can you use foreach iteration on arrays in c#?

1072


Is c# good for web development?

961


What is the use of return in c#?

950


What are the Types of configuration files and their differences

1069


What is meant by console programming?

920


What is the main usage of keyword “virtual” ? How does it work for a method or property?

913


Explain the accessibility modifier protected internal?

852


What is difference between constants and readonly in c#?

1033