public static void Main() { Athlete athlete = new Athlete(); athlete.Run(10); athlete.Run(2); }
public static void Main() { Athlete athlete = new Athlete(new AthleteConsoleLog()); athlete.Run(10); Athlete athlete2 = new Athlete(new AthleteFileLog()); athlete.Run(2); }