fix yield 2

This commit is contained in:
NikGapon 2022-11-21 21:01:48 +04:00
parent 6ec850250a
commit 864d5019bc

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)
{ {