Ejemplo n.º 1
0
 public static CarProvider GetInstance()
 {
     if (instance == null)
         instance = new CarProvider();
     return instance;
 }
 public CarGeneratingThread()
 {
     rnd = Randomizer.GetInstance();
     carProvider = CarProvider.GetInstance();
 }