Пример #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();
        }
Пример #2
0
 public Pursuit(SchoolGirl mm)
 {
     this.mm = mm;
 }
Пример #3
0
 public Proxy(SchoolGirl mm)
 {
     this.gg = new Pursuit(mm);
 }