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 |
Explain About web methods and its various attributes
What is session state in asp net c# with example?
Can we inherit sealed class in c#?
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is delegate in c#?
What is difference between singleordefault and firstordefault?
Does c# do array bounds checking?
What is system console writeline in c#?
How main method is called in c#?
What are the fundamental oop concepts?
What is instantiating a class in c#?
Can c# inherit multiple classes?
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)