✅ ✅ Static constructor for C# class not being called
I declared a class, here
X
X
which has a normal constructor and a static constructor. The static constructor isn't being called leaving some critical steps not done. What's going on?
class X{ public X() { // The static constructor wasn't called here } static X() { // Critical step that must be done. }}
class X{ public X() { // The static constructor wasn't called here } static X() { // Critical step that must be done. }}