What happens if a static constructor throws an exception?

 Posted by Kmandapalli on 2/19/2014 | Category: ASP.NET Interview questions | Views: 1961 | Points: 40

If a static constructor throws an exception, the runtime will not invoke it a second time, and the type will remain uninitialized for the lifetime of the application domain in which your program is running.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response