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

Is goto statement supported in C#? How about Java?

2 Answers  


Define c# i/o classes? List the commonly used classes?

0 Answers  


What is default access modifier for class in c#?

0 Answers  


Is c# used for frontend or backend?

0 Answers  


How do I open the console window?

0 Answers  






How does bitwise work?

0 Answers  


What are the steps for creating clr trigger

0 Answers  


What are generics in c#.net?

0 Answers  


What is the use of multicast delegate while methods of multicast delegate do not execute in a order?

2 Answers  


Why do we Need of static class in c#?

0 Answers   NA,


What is the CTS, and how does it relate to the CLS?

0 Answers   Arigo Infotech,


What do constructors do in c#?

0 Answers  


Categories