From f5458c9f842a618963d180258f17f2cdfc49837c Mon Sep 17 00:00:00 2001 From: MorozovDanil Date: Mon, 15 Apr 2024 14:52:19 +0400 Subject: [PATCH] =?UTF-8?q?Revert=20"=D1=84=D0=B8=D0=BA=D1=81=20=D0=B2=20?= =?UTF-8?q?=D0=BB=D0=B8=D1=81=D1=82=D0=B5"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 7bc3ac944f825c82b67712482b61dc79a5761793. --- .../CollectionGenericObjects/ListGenericObjects.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/ListGenericObjects.cs b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/ListGenericObjects.cs index e1f1b2a..ea12df5 100644 --- a/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/ListGenericObjects.cs +++ b/ProjectContainerShip/ProjectContainerShip/CollectionGenericObjects/ListGenericObjects.cs @@ -70,7 +70,7 @@ public class ListGenericObjects : ICollectionGenericObjects public T Remove(int position) { if (position >= Count || position < 0) return null; - T obj = _collection[position]; + T? obj = _collection[position]; _collection.RemoveAt(position); return obj; }