Reputation: 123
I encountered this exception when I trying to load a certain page. It doesn't show me which line of code has problem, which makes me kind of dizzy now..
What is a type initializer? What is it used for? and how can I troubleshoot this problem? Any suggestion?
Upvotes: 0
Views: 2163
Reputation: 94643
Type initializer
or static constuctor
is block of code that is triggered by the first of the following events to occur within an application domain.
For more info read articles by Jon skeet.
Upvotes: 0