class A
    {
        public A()
        {
            A gg = new A();
        }        static void Main()
        {
            A gg1 = new A();
        }
    }谢谢。Process is terminated due to StackOverflowException. 错误内容