From 6563fd4bec20cd7f9af4319c812ff149a380a8f0 Mon Sep 17 00:00:00 2001 From: MorozovDanil Date: Thu, 18 Apr 2024 22:21:24 +0400 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionGenericObjects/MassiveGenericObjects.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs index 42e883b..c94b54c 100644 --- a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/MassiveGenericObjects.cs @@ -10,7 +10,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects /// /// Массив объектов, которые храним /// - private T?[] _collection; + private T?[] _collection; public int Count => _collection.Length; @@ -91,7 +91,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects { if (position < 0 || position >= Count) { - return null ; + return null; } T obj = _collection[position]; _collection[position] = null;