Example #1
0
 // Print out all cars in the pool
 // (leave this method as it is)
 public void PrintAllCarsInPool()
 {
     foreach (KeyValuePair <String, Car> kvp in carList)
     {
         Car aCar = kvp.Value;
         Console.WriteLine("{0} is a {1} {2}", aCar.GetLicensePlate(), aCar.GetBrand(), aCar.GetModel());
     }
 }