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 hierarchical inheritance in c#?
So what makes your code really object-oriented #?
What are the methods in c#?
What is yield keyword?
List down the reason behind the usage of c# language.
What is difference between code access and role based security?
Explain the difference between and xml documentation tag?
How main method is called in c#?
What is delegates and events?
Why do we use generics in c#?
What does readonly mean in c#?
What is uint64_t?
What is the difference between const and readonly in c#.net?
Do loops in c#?
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?