What’s the C# syntax to catch any possible exception?

 Posted by maheshemdsys-5839 on 11/11/2010 | Category: C# Interview questions | Views: 3536 | Points: 40

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

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response