static Sportsman AddNewVisitors() { Console.WriteLine("Please enter the name of the person"); var personName = Console.ReadLine(); Console.WriteLine("Please enter the amount of the exersices"); var amountOfExercises = int.Parse(Console.ReadLine()); var sportsmanKeeper = new Sportsman(personName, amountOfExercises); return(sportsmanKeeper); }
public static void Remove(Sportsman visitor) { Visitor.Remove(visitor); }
public static void Add(Sportsman visitors) { Visitor.Add(visitors); }