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
Explain the differences between static, void and public in c#?
What are get and set in c#?
What is the use of private constructor in c#?
What is gridview c#?
Are c# strings null terminated?
Differentiate between method overriding from method overloading with its functionality?
What is command object in c#?
What are circular references?
Explain polymorphism in c# with a simple example?
What is concrete method in c#?
Define Abstract Class in C#
What do you mean by thread safe in c#?
When should I throw an exception?
What is the difference between interface and functional interface?
Is string primitive?