public Car Add(Car car) { lock (_incLock) { car.Id = _nextId; _carsDictionary.TryAdd(car.Id, car); _nextId++; } return car; }