static MyClass() { Console.WriteLine("Static ctor MyClass"); Nested nested = new Nested(); nested.MethodFromNested(); }