Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I have a winform application and the code in the constructor is not called. Commented Feb 29, 2016 at 13:07
  • @Sandeep It won't make any difference whether it's a winform app or not. You must be overlooking something somewhere. Commented Feb 29, 2016 at 13:25
  • You are write.. the static constructor executes.. but the call to the property doesn't work. Commented Feb 29, 2016 at 13:33
  • @Sandeep Then I would suspect that an exception is being thrown. Commented Feb 29, 2016 at 13:58