Example #1
0
        static void Main(string[] args)
        {
            SchoolGirl jiaojiao = new SchoolGirl();

            jiaojiao.Name = "李娇娇";

            Proxy daili = new Proxy(jiaojiao);

            daili.GiveDolls();
            daili.GiveFlowers();
            daili.GiveChocolate();

            Console.ReadKey();
        }
Example #2
0
 public Pursuit(SchoolGirl mm)
 {
     this.mm = mm;
 }
Example #3
0
 public Proxy(SchoolGirl mm)
 {
     this.gg = new Pursuit(mm);
 }