using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace sporting_teams{ class Program { static void Main(string[] args) { } } abstract class BaseSportTeam { string _sportType = ""; string _coach = ""; int _playerNumber = 1; public string SportType { get { return _sportType; } } public string Coach { get { return Coach; } } public int Players { get { return _playerNumber; } } public BaseSportTeam(string sportType, string coach, int playerNumber = 1) { _sportType = sportType; _coach = coach; _playerNumber = playerNumber; } public virtual void StartSeason() {
Comments
Leave a comment