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 meant by generics in c#?

0 Answers  


What is Lambda Expression?

1 Answers  


Explain how to add controls dynamically to the form using c#.net.

0 Answers  


What is the use of expression tree in c#?

0 Answers  


What is parallel foreach in c#?

0 Answers  






What is null character in string?

0 Answers  


Explain the various types of classes used in c#?

0 Answers  


What is the difference between static class and sealed class in c#?

0 Answers  


Explain the constructor in c#.

0 Answers  


Is string mutable in c#?

0 Answers  


How are Windows programs different from normal C-programs?

0 Answers   Tech Mahindra,


What is a generic in c#?

0 Answers  


Categories