From 305b9ae0948aa6a1d0f531a53bdc1b55c6acb782 Mon Sep 17 00:00:00 2001 From: user <732603@gmail.com> Date: Wed, 27 Mar 2024 22:44:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BC=D0=B5=D1=82=D0=BA=D0=B0=20"?= =?UTF-8?q?=E2=9C=94"=20=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionGenericObjects/MassiveGenericObjects.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs b/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs index 766630b..8ca09eb 100644 --- a/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs @@ -52,7 +52,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects public int Insert(T obj) { - // TODO вставка в свободное место набора + // TODO вставка в свободное место набора ✔ for (int i = 0; i < _collection.Length; i++) { if (_collection[i] == null) @@ -97,8 +97,8 @@ public class MassiveGenericObjects : ICollectionGenericObjects public bool Remove(int position) { - // TODO проверка позиции - // TODO удаление объекта из массива, присвоив элементу массива значение null + // TODO проверка позиции ✔ + // TODO удаление объекта из массива, присвоив элементу массива значение null ✔ if (_collection[position] != null) { _collection[position] = null;