• +91 9723535972
  • info@interviewmaterial.com

CSharp Interview Questions and Answers

Question - What's the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception?

Answer -   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 {}.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners