fix yield

This commit is contained in:
NikGapon 2022-11-21 21:01:25 +04:00
parent d553e2123d
commit 1c01b9a57b

View File

@ -61,7 +61,7 @@ namespace Airbus
Insert(value, position); Insert(value, position);
} }
} }
public IEnumerable<T> GetCars() public IEnumerable<T> GetAirplanes()
{ {
foreach (var car in _places) foreach (var car in _places)
{ {