Bondarenko M.S. Lab Work 7 #14

Closed
maxnes3 wants to merge 8 commits from LabWork_07 into LabWork_06
Showing only changes of commit 02a9aee9a3 - Show all commits

View File

@ -36,7 +36,7 @@ namespace WarmlyShip
{
if (position >= _maxCount || position >= _places.Count) throw new ShipNotFoundException(position);
T DelElement = _places[position];
_places[position] = null;
_places.Remove(DelElement);
return DelElement;
}