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

More C Sharp Interview Questions

What is difference between throw and throws in c#?

0 Answers  


What?s the .NET datatype that allows the retrieval of data by a unique key?

2 Answers   SmartData,


What is tryparse?

0 Answers  


What is overloading in c#?

0 Answers  


What is .net console?

0 Answers  






What are strongly typed objects?

0 Answers  


What is marshalling and what are different kinds of marshalling?

0 Answers  


What is the difference between int.Parse() and Convert.toInt32().

2 Answers  


Can structs in c# have destructors?

0 Answers  


Is javascript harder than c#?

0 Answers  


What is session variable in c#?

0 Answers  


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

0 Answers   HCL,


Categories