What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
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 |
How many types of constructors are available in c#?
What?s the difference between System.String and System.StringBuilder classes?
What is the difference between c and c sharp?
Why do we use anonymous method in c#?
Why to use lock statement in c#?
What is the use of list in c#?
How to use delegates with events?
What is a thread? What is multithreading?
Explain the difference between arraylist and array and in c#?
Can dictionary have duplicate keys c#?
What is yield c#?
What is difference between first and firstordefault?