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

What are classes in c#?

0 Answers  


Explanation on Generic?

0 Answers   QuestPond,


What is difference between static and constant variable?

0 Answers  


Is it not possible to store a boolean value as a variable?

0 Answers  


Can private virtual methods be overridden in c#.net?

0 Answers  






What is sorted list in c#?

0 Answers  


What Is The Difference Between The System.array.copyto() And System.array.clone()?

0 Answers   Infosys,


What is type safe in c#?

0 Answers  


How do you secure a webservice?

1 Answers   TCS,


Explain how do you directly call a native function exported from a dll?

0 Answers  


What is the difference between namespace and class in c#?

0 Answers  


how to handle errors in sqlserver

1 Answers  


Categories