Default static constructor?
.ctor method of each class at load time, so I know when an instance of each class is constructed. This works adequately using the default constructor, so even if no constructor is explicitly implemented in the code, my analysis works.However ... in the case of a class containing only static members (say, the defaultProgram class of a console app created in VS2005), the default static constructor.cctor isnot called - I have to explicitly implement a static constructor in theProgram class.
I don't understand why this is; using Lutz Roeder's Reflector I can see the default static constructor ... it just doesn't get called, whereas if I add a static constructor to the code, thatdoes get called![]()
If anyone can shed some light on this, I'd be greatly appreciative.

