public static void Race(IRemoteControlCar car)
 {
     throw new NotImplementedException($"Please implement the (static) TestTrack.Race() method");
 }
Beispiel #2
0
 public static void Race(IRemoteControlCar car) => car.Drive();
Beispiel #3
0
 public static decimal Race(IRemoteControlCar car)
 {
     car.Drive();
     return(car.DistanceTravelled);
 }