Finally a new CLR Week on the Old New Thing.
It starts with via: Why does BitConverter.LittleEndian return false on my x86 machine? which is all about static constructors.
So you should read these as well:
- Static constructors, part one | Fabulous Adventures In Coding.
- Static constructors, part two | Fabulous Adventures In Coding.
- Static constructors, part three | Fabulous Adventures In Coding.
- Static constructors, part four | Fabulous Adventures In Coding.
- C# in Depth: C# and beforefielinit.
- Type initialization changes in .NET 4.0 – Jon Skeet: Coding Blog.
- C# in Depth: Implementing the Singleton Pattern.
(Note that virtually anything from Eric Lippert and Jon Skeet it worth reading anyway).
–jeroen