What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
Answer / 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 |
What is the difference between Decorator and Adapter pattern?
What is the advantage of generics in c#?
Explain anonymous type in c#?
What is the difference between “finalize” and “finally” methods in c#?
In a site to turn off cookies for one page which method is followed?
What are access modifiers used for?
what is main function of alternate teamplate of datalist?
What is a generic method?
How to print labels in windows form in C# .net
What is private static in c#?
How do you generate documentation from the C# file commented properly with a command-line compiler?
What is the difference between firstordefault and first?
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)