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
Explain the difference between abstract class and interface.
Why generics are used in c#?
What is sorted list in c#?
What are the delegates in c#?
Explain about finalize method?
What is meant by enumerable in c#?
What is difference between virtual and override in c#?
Can you use foreach iteration on arrays in c#?
Is c# good for web development?
What is the use of return in c#?
What are the Types of configuration files and their differences
What is meant by console programming?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Explain the accessibility modifier protected internal?
What is difference between constants and readonly in c#?