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

Can partial class be inherited?

920


What are the types of attributes in c#?

953


How many types of variables are there in c#?

975


Can class inherit from struct c#?

979


To create a localized application which namespaces are necessary?

986


What is Inheritance in C#?

1171


What are the variables in c#?

948


If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.

1021


Can I get the name of a type at runtime?

989


In which way you can convert a value-type to a reference-type?

973


Explain circular reference in c#?

946


Are structs value types c#?

903


What is asp net in c#?

953


What is a callback c#?

999


What are the examples of data types?

988