What?s the C# equivalent of C++ catch (?), which was a
catch-all statement for any possible exception?
Answer Posted / 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 |
Post New Answer View All Answers
What is data set in c#?
What is an assembly in .net?
What is mvc in c#?
How can you use abstract class and interface?
What is yield c#?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
what is the difference between .dll and .exe
Define parsing?
Why do we need properties in c#?
What is difference between constants and read-only?
What is the difference between a function and a method?
Why do we need to override in c#?
Write the difference between TypeOf and GetType?
What's your approach to fetch static data in your windows form application?
Can a struct inherit from another struct or class in c#?