Beispiel #1
0
 public void IncreaseDistance()
 {
     lock (bikeLockObject)
     {
         currentData = bike.ReadData();
         bike.PutDistance(currentData.Distance + 1000);
     }
 }