public static void Race(IRemoteControlCar car)
 {
     throw new NotImplementedException($"Please implement the (static) TestTrack.Race() method");
 }
예제 #2
0
 public static void Race(IRemoteControlCar car) => car.Drive();
예제 #3
0
파일: Example.cs 프로젝트: taiyab/v3
 public static decimal Race(IRemoteControlCar car)
 {
     car.Drive();
     return(car.DistanceTravelled);
 }