csharp ensure static constructor is called

Code Example - csharp ensure static constructor is called

                
                        RuntimeHelpers.RunClassConstructor(typeof(YourType).TypeHandle);