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

Why we use oops in c#?

0 Answers  


What is xml serializer?

0 Answers  


What is bit in c#?

0 Answers  


What is datetime parse in c#?

0 Answers  


What is an expression in c#?

0 Answers  






What exactly happens when we debug and build the program?

0 Answers  


Is inheritance possible in c sharp?

0 Answers  


What is the name of the implicit input parameter of a set accessor for any property?

1 Answers   TCS,


What is check/uncheck?

0 Answers  


What does assert() do in c#?

0 Answers  


What is stringreader in c#?

0 Answers  


Classes and structs can be declared as static, is this statement true or false?

0 Answers  


Categories