What happens if a static constructor throws an exception?

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

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