Esempio n. 1
0
        public void AddTeam()
        {
            Team soccerTeam = new SoccerTeam();

            soccerTeam.RegisterData();
            Teams.Add(soccerTeam);
        }
Esempio n. 2
0
        public SoccerChampionship()
        {
            Teams = new List <Team>();
            Team soccerTeam = new SoccerTeam();

            soccerTeam.TeamName  = "Real Madrid";
            soccerTeam.Coach     = "Zidane";
            soccerTeam.President = "Florentino";
            Teams.Add(soccerTeam);
        }
Esempio n. 3
0
 public override void RegisterTeam(SoccerTeam team)
 {
     Teams.Add(team);
 }
Esempio n. 4
0
 public abstract void RegisterTeam(SoccerTeam team);