[Mono-list] Static constructor issue

Andreas Färber andreas.faerber at web.de
Thu Sep 7 14:48:36 EDT 2006


Am 07.09.2006 um 20:28 schrieb Abe Gillespie:

> static Child.ctor is called first and then static Parent.ctor is
> called ... that's just the way the order of operations go.

Okay, thanks.

As a workaround I've introduced a static no-op method on the base  
class which leads to it being initialized before the rest of my  
code. ;-)

Andreas


More information about the Mono-list mailing list