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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

i want the csharp questions&answeres

1495


What is marshalling and what are different kinds of marshalling?

513


What is the C# syntax to catch any possible exception?

536


Is .net and c# the same?

561


How can encapsulation be achieved?

608






Describe an interface class?

580


What is the task perform by clr?

581


Define xslt.

554


What is use of singleton class in c#?

503


Differentiate between method overriding from method overloading with its functionality?

550


What is the difference between disposing of () and finalize() methods in c#?

554


What does args mean in c#?

500


What is the difference between an application domain and a process?

486


what is inheritance and an example in vb.net and c# of when you might use it?

534


What is the namespcae generally given to the webpage of the .NET Framework ?

606