示例#1
0
        static void Main(string[] args)
        {
            Beauty mm = new Beauty();

            mm.Name = "王雪丽";
            Agent at = new Agent(mm);

            at.SentDoll();
            at.SentFlowers();
            at.SentChocolate();
            Console.Read();
        }
示例#2
0
 public Agent(Beauty mm)
 {
     ps = new Pursuit(mm);
 }
示例#3
0
 public Pursuit(Beauty mm)
 {
     this.mm = mm;
 }