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
What is a type c#?
Where static variables are stored?
What is default access modifier for class in c#?
what happens if you inherit multiple interfaces and they have conflicting method names?
Why is c# a good programming language?
Is a valid int value?
What is the difference between a private assembly and a shared assembly?
What is type checking in c#?
How do I unload an assembly?
What is a clr host?
What is the difference between namespace and class in c#?
What is the difference between firstordefault and singleordefault?
How to use the sreamReader class to read form a text file?
What are custom attributes in c#?
What is form feed and carriage return?