public class Hello { static Hello() { System.Console.WriteLine("creating Hello"); } public void Goodbye() { System.Console.WriteLine("Goodbye"); } public static void Main() { System.Console.WriteLine("Hello, world"); } }