C# Static Constructors

Posted by Joe Enos on March 27, 2021 · 1 min read

Static constructors in C# are a bit tricky to use. Static classes and methods go against OOP principals in the first place, so their use should be limited to only where they make sense.

Here are some basic behaviors about static constructors:

View code on GitHub