C# Static Constructors

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


Popular posts from this blog

DotNet CLI

Nullable reference types