Example #1
0
        static void Main(string[] args)
        {
            Pursuit _pursuit=new Pursuit();
            _pursuit.GiveDolls();

            Proxy _proxy=new Proxy(_pursuit);
            _proxy.GiveDolls();
            Console.ReadKey();
        }
Example #2
0
        static void Main(string[] args)
        {
            Pursuit _pursuit = new Pursuit();

            _pursuit.GiveDolls();

            Proxy _proxy = new Proxy(_pursuit);

            _proxy.GiveDolls();
            Console.ReadKey();
        }
Example #3
0
        private static void NewMethod()
        {
            Girl leng = new Girl {
                Name = "kat"
            };

            Pursuit yi = new Pursuit(leng);

            yi.GiveChocolate();
            yi.GiveDolls();
            yi.GiveFlowers();

            Console.Read();
        }
Example #4
0
 public void GiveDolls()
 {
     gg.GiveDolls();
 }