public Sweepstakes GetSweepstakes()
        {
            Sweepstakes sweepstakes = queue.Dequeue();

            return(sweepstakes);
        }
 // Member Methods
 public void InsertSweepstakes(Sweepstakes sweepstakes)
 {
     queue.Enqueue(sweepstakes);
 }
Exemple #3
0
 //methods
 public void CreateSweepstake(string name)
 {
     //objective
     Sweepstakes sweepstakes = new Sweepstakes(name);
 }
 //functions
 public void InsertSweepstakes(Sweepstakes sweepstakes)
 {
     sweepstakesStack.Push(sweepstakes);
 }
 //Member Methods
 public void CreateSweepstake()
 {
     Sweepstakes sweepstake = new Sweepstakes();//what to pass through to create name
 }