public Player(string firstName, string lastName, DateTime dateOfBirth, decimal salary, Team team) { this.FirstName = firstName; this.LastName = lastName; this.DateOfBirth = dateOfBirth; this.Salary = salary; this.Team = team; }
public static void AddTeam(Team team) { teams.Add(team); }