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



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

Answer / daniel

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 ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How many types of constructors are available in c#?

0 Answers  


What?s the difference between System.String and System.StringBuilder classes?

5 Answers  


What is the difference between c and c sharp?

0 Answers  


Why do we use anonymous method in c#?

0 Answers  


Why to use lock statement in c#?

0 Answers  


What is the use of list in c#?

0 Answers  


How to use delegates with events?

0 Answers  


What is a thread? What is multithreading?

0 Answers  


Explain the difference between arraylist and array and in c#?

0 Answers  


Can dictionary have duplicate keys c#?

0 Answers  


What is yield c#?

0 Answers  


What is difference between first and firstordefault?

0 Answers  


Categories