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 difference between destructor and finalize?
Why is it a bad idea to throw your own exceptions?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
What is assembly version series sequence?
How long does it take to learn c# for unity?
What is the difference between writeline and write in c#?
What is the difference between static class and abstract class in c#?
What is an example of delegation?
what are the contents of an assembly ?
Why should you override the tostring() method?
What is the resgen.exe tool used for?
What is a class level variable in c#?
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)