示例#1
0
        static void Main(string[] args)
        {
            MarketingFirm firm  = new MarketingFirm();
            Sweepstakes   sweep = Creation.CreateSweepstakes();

            firm.manager.InsertSweepstakes(sweep);

            Contestant c1 = Creation.CreateNewContestant();

            sweep.RegisterContestant(c1);

            sweep.PickWinner();

            firm.manager.GetSweepstakes();

            Console.ReadLine();
        }
示例#2
0
 public Contestant()
 {
     Creation.CreateNewContestant();
 }
 public WinningContestant()
 {
     Creation.CreateNewContestant();
 }