What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
Answer Posted / 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 View All Answers
Why we use delegates in c#?
What standard types does c# use?
What is Event - Delegate?
What is using directive in c#?
Is string passed by reference in c#?
What is multithreading with .net?
Why is dll used?
Why main method is static in c#?
What is the purpose of c#?
Is it possible to execute multiple catch block for a single try statement?
Explain what are the steps for creating clr trigger?
What are value types and reference types?
What is the difference between console application and windows application?
Why do I get a syntax error when trying to declare a variable called checked?
Illustrate namespaces in c#?