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 |
What is default value of bool in c#?
Where do we use serialization in c#?
Why do we use void in c#?
Is it possible to add two 50 digit numbers in .net? If yes what is the code snippet?
2 Answers Cognizant, W3 Solutions, Zefer,
Is c# and .net same?
what is partial assembly reference
What does an indexer do?
Which operator cannot be overloaded in c sharp?
Can we extend static class in c#?
What is virtual class in C#?
what is accessspecifier and explation each with example?
int a = '3' + '4'; char n = (char)a; What will be answer of n?
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)