Agliullov D. A. Lab Work 6 Advanced #7

Merged
eegov merged 4 commits from Lab6 into Lab5 2022-11-07 11:31:38 +04:00
Showing only changes of commit fb360824dc - Show all commits

View File

@ -193,9 +193,9 @@ namespace AirBomber
public string GetData(char separatorType, char separatorData)
{
string data = $"{_map.GetType().Name}{separatorType}";
foreach (var car in SetAirplanes.GetAirplanes())
foreach (var airplane in SetAirplanes.GetAirplanes())
{
data += $"{car.GetInfo()}{separatorData}";
data += $"{airplane.GetInfo()}{separatorData}";
}
return data;
}