From 76a613ccd3c11bcb1ec5d0b948edfed3d10a815f 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs b/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs index 766630b..01fc45f 100644 --- a/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/ProjectMotorBoat/ProjectMotorBoat/CollectionGenericObjects/MassiveGenericObjects.cs @@ -42,7 +42,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects public T? Get(int position) { - // TODO проверка позиции + // TODO проверка позиции ✔ if (_collection[position] != null) { return _collection[position]; @@ -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;