What is a Static Constructor in C#
A static constructor is a way to initialize any static data or to perform a particular action that needs to be performed only once. A static constructor is called automatically before the first instance is created or any static member is referenced.…