예제 #1
0
        static void Main(string[] args)
        {
            Girl mm = new Girl();

            mm.Name = "小甜甜";

            Proxy p = new Proxy(mm);

            p.GiveFlowers();
            Console.ReadKey();
        }
예제 #2
0
 public Pursuit(Girl girl)
 {
     this.girl = girl;
 }
예제 #3
0
 public Proxy(Girl mm)
 {
     gg = new Pursuit(mm);
 }