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
What is c sharp language?
Is stringbuilder faster than string concatenation c#?
What is difference between float and integer?
What is an object and a class?
If casting fails what type of exception is thrown?
What is the difference between values and reference types?
What does async mean in c#?
Why to use lock statement in c#?
What is the usage of transponders?
What are the benefits of using generics?
What is wpf application in c#?
What is the benefit of dependency injection c#?
What is default value of decimal c#?
Can we have multiple threads in one app domain?
How many types of constructors are available in c#?