public void AddTeam() { Team soccerTeam = new SoccerTeam(); soccerTeam.RegisterData(); Teams.Add(soccerTeam); }
public SoccerChampionship() { Teams = new List <Team>(); Team soccerTeam = new SoccerTeam(); soccerTeam.TeamName = "Real Madrid"; soccerTeam.Coach = "Zidane"; soccerTeam.President = "Florentino"; Teams.Add(soccerTeam); }
public override void RegisterTeam(SoccerTeam team) { Teams.Add(team); }
public abstract void RegisterTeam(SoccerTeam team);