3 ms·
It’s also the same in .NET. If your Main() function references types that have a static constructor, the constructors could run before Main(). It’s a surprisin
by colejohnson66 4y ago
It’s also the same in .NET. If your Main() function references types that have a static constructor, the constructors could run before Main().
It’s a surprising thing when one first discovers it, but it makes a lot of sense.