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?s the difference between an interface and abstract class?
What is difference between tostring() vs convert.tostring() vs (string) cast
Using system; class main { public static void Main() { int a = 1; for (int i = 0; i < 10; i++) { int j = a * 5; Console.WriteLine(a + "*5=" + j); a++; } Console.ReadLine(); } }
What is different between Implicit conversion and Explicit conversion in C#?
What Is The Difference Between ViewState and SessionState?
What are the different types of literals in c#?
What are the keywords used to pass parameters to the base class and how do I invoke other constructors.
Does c# have functions?
What is msil in c#?
What is global asax in c#?
How do you escape c#?
Is c# code is unmanaged or managed code?
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)