//constructor public SweepstakesStackManager() { myStack = new Stack(); contestants = new Contestant(); }
public void PrintContestantInfo(Contestant contestant) { UserInterface.DisplayContestantInfo(contestant.FirstName + contestant.LastName); }
//Constructor public SweepstakesQueueManager() { myQueue = new Queue(); contestants = new Contestant(); }
//member methods public void RegisterContestant(Contestant contestant) { contestant.RegistrationNumber = contestants.Count; contestants.Add(contestant.RegistrationNumber, contestant); }