What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
Answer Posted / 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 View All Answers
Can partial class be inherited?
What are the types of attributes in c#?
How many types of variables are there in c#?
Can class inherit from struct c#?
To create a localized application which namespaces are necessary?
What is Inheritance in C#?
What are the variables in c#?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
Can I get the name of a type at runtime?
In which way you can convert a value-type to a reference-type?
Explain circular reference in c#?
Are structs value types c#?
What is asp net in c#?
What is a callback c#?
What are the examples of data types?