What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
Answer / 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 |
When compiler adds a default constructor to a class?
Can I define my own exceptions?
How many bytes is a char c#?
Explain partial class in c#?
What is the name of the implicit input parameter of a set accessor for any property?
What is use of private class in c#?
Can you inherit multiple abstract classes in c#?
Why we use extension method in c#?
What is call back method?
Why abstraction is used in c#?
Will the following code compile and run?
How to prevent the error while updating ui control from another thread?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)