示例#1
0
 static void Main(string[] args)
 {
     //Super super = new Super();
     Sub sub = new Sub();
 }
示例#2
0
        static void Main(string[] args)
        {
            Super super = new Super();

            Sub sub = new Sub();    // 자식 클래스가 객체를 만들면 부모의 변수나 메소드를 사용해야 하므로 부모가 먼저 만들어짐
        }
示例#3
0
文件: Program.cs 项目: roylimtan/TIL
 static void Main(string[] args)
 {
     Sub sub = new Sub();
 }