1 Commits
laba6 ... laba4

Author SHA1 Message Date
d1123dc662 изменения 2023-11-29 19:49:24 +04:00

View File

@@ -69,10 +69,8 @@ namespace ProjectBomber.Generics
public bool Remove(int position)
{
/// Проверка позиции
if (position < 0 || position >= _places.Count)
return false;
/// Удаление объекта из массива, присвоив элементу массива значение null
_places[position] = null;
if ((position < 0) || (position > _maxCount)) return false;
_places.RemoveAt(position);
return true;
}
/// <summary>