Beispiel #1
0
 static void Main(string[] args)
 {
     // 코드 7-31 호출
     A.Parent parent = new A.Parent();
     A.Child  child  = new A.Child();
     parent.Test();
     child.Test();
 }
        static void Main(string[] args)
        {
            // 코드 7-33 호출(여기에서 오류가 발생합니다)
            A.Parent parent = new A.Parent();
            A.Child  child  = new A.Child();

            parent.Test();
            child.Test();
        }