Static Constructors in .NET (C#)
Static constructors are called automatically to initialize the class before the first instance is created or any static members are referenced. They do not have any parameters and cannot be called directly.
static StatSample ()
// Log the process start time
public static void SayHello()
private static void Write2Log(String msg)
The following code invokes the static constructor without any new operator or any explicit call