static void Main(string[] args) { // Console.WriteLine("Hello World!"); CCosPlayer c = new CCosPlayer(); BCosPlayerProxy b = new BCosPlayerProxy(c); b.GiveWeChat(); b.GiveFlower(); b.WatchMovie(); b.HavingDinner(); }
public ACosPlayer(CCosPlayer c) { this.c = c; }